coingecko-api-client-0.1.6
توضیحات
Unofficial CoinGecko API client based on HTTPX
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | coingecko-api-client-0.1.6 |
| نام | coingecko-api-client |
| نسخه کتابخانه | 0.1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eugene Serdyuk |
| ایمیل نویسنده | eugene.serdyuk@pm.me |
| آدرس صفحه اصلی | https://github.com/eserdk/coingecko-api-client |
| آدرس اینترنتی | https://pypi.org/project/coingecko-api-client/ |
| مجوز | MIT |
# CoinGecko API Client
Unofficial [CoinGecko API](https://www.coingecko.com/en/api) client based on HTTPX.
[](https://pypi.python.org/pypi/coingecko-api-client/)
[](https://pypi.python.org/pypi/coingecko-api-client/)
[](https://codecov.io/gh/eserdk/coingecko-api-client)
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the library.
```bash
pip install coingecko-api-client
```
Or [poetry](https://python-poetry.org).
```bash
poetry add coingecko-api-client
```
## Usage
```python
# imports sync client
from coingecko_api_client.client import CoinGeckoAPIClient
# imports async client
from coingecko_api_client.client import CoinGeckoAPIAsyncClient
# instantiates sync client
sync_client = CoinGeckoAPIClient()
# instantiates async client
async_client = CoinGeckoAPIAsyncClient()
# pings CoinGecko API with sync client
sync_ping_data = sync_client.ping()
# pings CoinGecko API with async client
async_ping_data = await async_client.ping()
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
## Thanks
This readme file was constructed using [this template](https://www.makeareadme.com).
نیازمندی
| مقدار | نام |
|---|---|
| >=0.18.2,<0.19.0 | httpx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl coingecko-api-client-0.1.6:
pip install coingecko-api-client-0.1.6.whl
نصب پکیج tar.gz coingecko-api-client-0.1.6:
pip install coingecko-api-client-0.1.6.tar.gz