Simple python example of btc-exchange api
API KEY
. If you don't have, please read "How to request API KEY"- Your generated
private key
git clone https://github.com/satyakampandya/btc-exchange-api-example-python.git
cd btc-exchange-api-example-python/
pip install -r requirements.txt
nano btc_api.py
and provide your'sAPI_KEY
and path ofPRIVATE_KEY
- Run
python btc_api.py
Please generate RSA keypair with with your public and private key and send public key to us (info@bitmarket.lt) asking to grant you API KEY
.
openssl genrsa -out btc-exchange-api.pem 2048
openssl rsa -in btc-exchange-api.pem -outform PEM -pubout -out btc-exchange-api.public.pem
- Send
btc-exchange-api.public.pem
to us
- Open http://travistidwell.com/jsencrypt/demo/
- Change
Key Size
into 2048 and pressGenerate New Keys
- Save
private key
somewhere securely - Save
public key
somewhere and send this file to us