Introduction
Welcome to the BuyCoins Python library documentation page.
The BuyCoins Python library allows interactions with the BuyCoins API from applications written in Python.
Installation
Begin by installing the package from the PyPi repository:
Next, create an auth_key variable in a .env
file:
If you haven't gotten your public and private key, refer to this page.
Test your installation from a python console:
If any of the above commands fails, appropriate error messages are displayed.
Errors
A 401 error is returned when an invalid auth_key
value is set:
What can I do with the library?
The core features of the package are:
Buying & Selling supported cryptocurrencies (Bitcoin, Ethereum, Litecoin) using the P2P class.
Generating deposit bank accounts to top up your NGNT account using the NGNT class.
Sending supported currencies to external addresses and generating addresses to receive supported currencies using the Wallet class.
Verifying webhook events using the Webhook class.
API
The BuyCoins API is hosted on BuyCoin's Developer Portal.
Last updated