A Simple Python Library to integrate with VALR API.
Get this package by:
$ git clone https://github.com/Moon-developer/Valr-simple-client.git
Activate the virtual environment with venv before coding, testing & packaging:
$ cd .
$ python3 -m venv .dev_env
$ source .dev_env/bin/activate
$ python3 -m pip install -r requirements.txt
Required ENVIRONMENT
variables:
VALR_KEY='valr_key'
VALR_SECRET='valr_secret'
Example Usage, See example.py
file:
$ python3 example.py
To use this as a package in your project simply run:
$ pip install valr-simple-client
Then import:
from valr import Valr
# Initiate a client
valr_client = Valr(key='YOUR_VALR_KEY', secret='YOUR_VALR_SECRET')
# Access the endpoint your want to use.
valr_client.public.server_time()