Metadata-Version: 2.1
Name: python-crypto-dot-com-sdk
Version: 1.1.1
Summary: A simple python wrapper for crypto.com API
Home-page: https://github.com/javadebadi/python-crypto-dot-com-sdk
Author: Javad Ebadi
Author-email: javad@javadebadi.com
License: Apache 2.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: xarizmi

# Python Crypto API SDK


## Installation
```bash
pip install python_crypto_dot_com_sdk
```

## Market

### Get Candlestick Data
```python
import json
from crypto_dot_com.client import CryptoAPI


client = CryptoAPI(
    api_key=API_KEY,
    api_secret=SECRET_KEY,
    log_json_response_to_file=True,
)

kline_data = client.get_candlesticks("MTD_USD", count=100, timeframe='1M')
with open("x.json", "w") as f:
    json.dump([obj.model_dump() for obj in kline_data], f, indent=4, default=str)
```


