Python SDK for the VALR REST API
Project description
Python SDK for the VALR REST API
Free software: MIT license
Installation
pip install valr-python
You can also install the in-development version with:
pip install https://github.com/jonathanelscpt/valr-python/archive/master.zip
Authentication
Authenticating to the VALR API requires a valid API Key from the VALR exchange.
Documentation
To use the project:
from valr_python import Client
c = Client(api_key='api_key', api_secret='api_secret')
try:
res = c.get_market_summary()
print(res)
except Exception as e:
print(e)
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Donate
If this library has helped you, or if you would like to support future development, donations are most welcome:
Cryptocurrency |
Address |
---|---|
BTC |
38c7QWggrB2HLUJZFmhAC2zh4t8C57c1ec |
ETH |
0x01eD3b58a07c6d005281Db76e6c1AE2bfF2226AD |
Changelog
0.0.0 (2019-12-27)
Alpha-only. Not released on PyPI.
0.1.0 (2019-12-29)
Initial PyPi release
0.1.1 (2019-12-31)
corrected build error issue in setup.py
0.1.2 (2019-12-31)
Updated readme and documentation
0.1.3 (2020-01-02)
Fixed defect with empty body signed signatures
Updated class importing
Added additional docstrings and unit tests
0.1.4 (2020-01-04)
Streamlined ordering api calls with decorators
Added typing support
Re-worked class design internals to support later async expansion
Fixed bugs with str ‘None’ insertion with f-strings
Expanded unit tests to cover all api endpoints for synchronous client
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file valr-python-0.1.4.tar.gz
.
File metadata
- Download URL: valr-python-0.1.4.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493796b7b84f2e59ff36fb09a2ff0d42c5533c0d9494183d6a89a75fda330f86 |
|
MD5 | 81d4fecf6122546d74c972c863789865 |
|
BLAKE2b-256 | 220a0d2d9c83b12e339f6ed08796da7bf6ddec5dd933d872378485b660664bd9 |
File details
Details for the file valr_python-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: valr_python-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800b83b68d582c4a7dbe38083057c8b4044699207ad61954c9d52896312c6640 |
|
MD5 | ad4003bc174038c8a74e723296b08fff |
|
BLAKE2b-256 | 8e2751b57af73680fac4352c7a65ed50695089d0b2627ae2aeb1b8ccc99171f0 |