sync & async Crypto Pay API client.
Project description
AsyncIOCryptoPayAPI
aiocpa is a syncronous & asynchronous Crypto Pay API client.
Documentation
Quick start
import asyncio
from cryptopay import CryptoPay
async def main() -> None:
cp = CryptoPay(token="TOKEN")
app = await cp.get_me()
print(app.name) # Your App Name
if __name__ == "__main__":
asyncio.run(main())
Synchronous usage
from cryptopay import CryptoPay
cp = CryptoPay("TOKEN")
app = cp.get_me()
print(app.name) # Your App Name
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiocpa-0.1.5.tar.gz
(19.2 kB
view hashes)
Built Distribution
aiocpa-0.1.5-py3-none-any.whl
(36.6 kB
view hashes)