cryptowatch-client
cryptowatch-client is a python client library for cryptowatch public market rest api
Installation
$ pip install cryptowatch-client
Usage
from cryptowatch_client import Client
client = Client(timeout=30)
response = client.get_allowance()
print(response.status_code, response.json())
client.get_allowance() # GET /
client.get_assets() # GET /assets
client.get_assets(asset='btc') # GET /assets/btc
client.get_pairs() # GET /pairs
client.get_pairs(pair='ethbtc') # GET /pairs/ethbtc
client.get_exchanges() # GET /exchanges
client.get_exchanges(exchange='kraken') # GET /exchanges/kraken
client.get_markets() # GET /markets
client.get_markets(exchange='kraken') # GET /markets/kraken
client.get_markets(exchange='gdax', pair='btcusd') # GET /markets/gdax/btcusd
client.get_markets_price(exchange='gdax', pair='btcusd') # GET /markets/gdax/btcusd/price
client.get_markets_summary(exchange='gdax', pair='btcusd') # GET /markets/gdax/btcusd/summary
client.get_markets_trades(exchange='gdax', pair='btcusd') # GET /markets/gdax/btcusd/trades
client.get_markets_trades(exchange='gdax', pair='btcusd', limit=100, since=1481663244) # GET /markets/gdax/btcusd/trades
client.get_markets_orderbook(exchange='gdax', pair='btcusd') # GET /markets/gdax/btcusd/orderbook
client.get_markets_ohlc(exchange='gdax', pair='btcusd') # GET /markets/gdax/btcusd/ohlc
client.get_markets_ohlc(exchange='gdax', pair='btcusd', before=1481663244, after=1481663244, periods='60,180,108000') # GET /markets/gdax/btcusd/ohlc
client.get_markets_prices() # GET /markets/prices
client.get_markets_summaries() # GET /markets/summaries
Contributing
Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create new Pull Request
Metadata
Release files for cryptowatch-client 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cryptowatch-client-0.1.4.tar.gz | 2.7 kB | Without provenance | Details for cryptowatch-client-0.1.4.tar.gz |
Release files / cryptowatch-client-0.1.4.tar.gz
| Download URL | cryptowatch-client-0.1.4.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbc904080b09c2092a0936a4d86088cfa427efcd5d779653692eef20342cd740
|
|
BLAKE2b-256 checksum How to use checksums |
88e63a5c1d2792675a5e8211c323fba417fc243b7c8b89bd59bd1c74fd9c1e91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cryptowatch-client 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.