Currency.com REST API python implementation
Project description
Welcome to the python-currencycom
This is an unofficial Python wrapper for the Currency.com exchange REST API v1. I am in no way affiliated with Currency.com, use at your own risk.
Documentation
Please find official documentation by: https://exchange.currency.com/api
Or Swagger by the link: https://apitradedoc.currency.com/swagger-ui.html#/.
QuickStart
Register an account on Currency.com
Create an API Key with correct permissions
pip install python-currencycom
Let's retrieve tradable symbols on the market
from pprint import pprint
from currencycom.client import Client
client = Client('API_KEY', 'SECRET_KEY')
# Exchange info contains various info including tradable symbols
exchange_info = client.get_exchange_info()
tradable_symbols = [x['symbol'] for x in exchange_info['symbols']]
pprint(tradable_symbols,
indent=2)
For more check out the documentation and Swagger.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file python_currencycom-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: python_currencycom-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74a38e1c77997bc79e88b85fa39c677aebf803548bce555ed1bc49d5714047e |
|
MD5 | 2db27985d8808a2867179f2d1b830e13 |
|
BLAKE2b-256 | 24eddf1c7a7757708830cead3834813e64553896da150c3a7e6a9ed8facd3b5e |