Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmadazizi/coinex_python_client
coinex.com API wrapper client
https://github.com/ahmadazizi/coinex_python_client
Last synced: about 1 month ago
JSON representation
coinex.com API wrapper client
- Host: GitHub
- URL: https://github.com/ahmadazizi/coinex_python_client
- Owner: ahmadazizi
- License: mit
- Created: 2023-08-14T20:16:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-14T20:47:13.000Z (over 1 year ago)
- Last Synced: 2023-08-14T23:16:24.777Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coinex_python_client
coinex.com API wrapper client## Why?
Coinex.com lacks an official API client SDK, so it took me some time to create an API wrapper. I have shared the code with you, so you don't have to read their documentation to set up a basic API client in Python. If you actively use it, let me know your requirements by creating issues, and I would update the repository.## Final words
In conclusion, I recommend using CCXT, but there are cases where it is more convenient to directly use the broker's API.# Example Usage
```python
import timec = CoinexClient('access_id', 'secret_key')
r = c.request(
auth=True, # set this to false for public APIs
endpoint="/order/finished",
params={
'start_time': 0,
'end_time': int(time.time()),
'page': 1,
'limit': 100,
}
)print(r)
```