/pyAnyPay

Wrapper for AnyPay.com API

Primary LanguagePythonMIT LicenseMIT

pyAnyPay

Little asynchronous wrapper around the AnyPay API.

Installation

PyPI

pip install pyanypay

Usage

import asyncio
from pyanypay import AnyPayApi

api = AnyPayApi(api_key="API_KEY", api_id=123)

async def main():
    # Retrieve balance
    response = await api.balance()
    print(response.balance)  # 123.45


asyncio.run(main())