Skip to main content

sync & async Crypto Pay API client.

Project description

AsyncIOCryptoPayAPI

Python Crypto Pay API Pydantic v2 Aiohttp Code linter: ruff Checked with mypy

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.3.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

aiocpa-0.1.3-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file aiocpa-0.1.3.tar.gz.

File metadata

  • Download URL: aiocpa-0.1.3.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11

File hashes

Hashes for aiocpa-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8342fa3d716c84ac3df9c0321094f8ea4debb26887b2ae355ac5b45009a983b5
MD5 4ac239398d315bf8e3ccb4105b385215
BLAKE2b-256 e307500f6c7abbf5be28db6ffa3ce6c8335f33089b9aca65e3764f2e12cce24b

See more details on using hashes here.

Provenance

File details

Details for the file aiocpa-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: aiocpa-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11

File hashes

Hashes for aiocpa-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1f8f2dc9130ff2c2914df9677058b48178e5cafaa263da22100599c37ab781
MD5 4781e39f65d5028ce70605bb3aafa388
BLAKE2b-256 f22a70e9fc2701fe725c869ebf962ef84e4ce50daaf5199fc18dce9f8d9b8a68

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page