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())
Syncronous usage
from cryptopay import CryptoPay
cp = CryptoPay("TOKEN")
app = cp.get_me()
print(app.name) # Your App Name
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(18.7 kB
view details)
Built Distribution
aiocpa-0.1.0-py3-none-any.whl
(35.6 kB
view details)
File details
Details for the file aiocpa-0.1.0.tar.gz
.
File metadata
- Download URL: aiocpa-0.1.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf4960daf27390f9b51bf16b52ac0973ecf014912cd242baefb7aa03130cd4ec |
|
MD5 | 9d2dce0a6d0c63d6cc7e0e19f89d947d |
|
BLAKE2b-256 | 98ed4900d615ccd63ce28b06567b5fab6ecede576e65fc1b6a4811f2d994c94f |
Provenance
File details
Details for the file aiocpa-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: aiocpa-0.1.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f5154efffd96c3da56ea5a87670c9d2a891062d5cce9d2af2c3d1a47bfe8b2 |
|
MD5 | bd3c95d1f868d1c343780d07533ca425 |
|
BLAKE2b-256 | 3e0ce8edb56a69e6b8ed9ae63f060f3dd4985d52496981fae3bdd4e19360d23a |