No description
- Python 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| aiocoingecko | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| setup.cfg | ||
Asynchronous CoinGecko API wrapper
Python3 wrapper around the CoinGecko API (V3)
Features 100% API implementation and full Pythonic documentation.
Notice
CoinGecko now requires a free API key to access its API. You can pass your API key into the AsyncCoinGeckoAPISession
constructor like below:
from aiocoingecko import AsyncCoinGeckoAPISession
AsyncCoinGeckoAPISession(demo_api_key="CG-GuQ43vEyHED1dQCV3b46X3a7")
Installation
PyPI
pip install aiocoingecko
Usage
import asyncio
from aiocoingecko import AsyncCoinGeckoAPISession
async def main():
async with AsyncCoinGeckoAPISession() as cg:
print(await cg.ping())
asyncio.run(main())