A Python wrapper for the NOWPayments API.
Project description
NOWPayments API
A Python wrapper for the NOWPayments API, allowing easy integration with the NowPayments platform in Python applications. The api call descriptions are from the official documentation.
Table of Contents
Installation
Make sure you have Python and pip
installed. Install by running:
pip install nowpayments-api
Usage
-
Obtain your NowPayments API key.
- From NowPayments Dashboard or
- From NowPayments Sandbox Dashboard
-
Create an instance of the NowPaymentsAPI class based on your API key:
# Production
from nowpayments_api import NOWPaymentsAPI
api_key = 'YOUR_API_KEY'
nowpayments = NOWPaymentsAPI(api_key)
status = nowpayments.status()
# Sandbox
from nowpayments_api import NOWPaymentsAPI
api_key = 'YOUR_SANDBOX_API_KEY'
nowpayments = NOWPaymentsAPI(api_key, sandbox=True)
status = nowpayments.status()
Project Status
This project is under active development. Below are the implemented API methods
Auth and API Status
- GET API Status
- POST Auth
Currencies
- GET Available Currencies
- GET Available Currencies Full / Detailed
- GET Available Currencies Checked
Payments
- POST Create invoice
- POST Create payment
- POST Create payment by invoice
- POST Update payment estimate
- GET Estimate price
- GET Payment Status
- GET List of payments
- GET Minimum payment amount
Mass Payout
TBA
Conversions
TBA
Custody
TBA
Documentation
For more details on available API methods and parameters, refer to the NowPayments API Documentation.
Contributing
Contributions are welcome!
If you find any issues or have suggestions for improvements, please open an issue or create a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Hashes for nowpayments_api-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a90106ae1668a87f3317face662b73de208c4ee0d4c0c5771a0e8c1405114769 |
|
MD5 | 9e1d4a02ef53833087149344dcbb4ceb |
|
BLAKE2b-256 | 8dc27075fafe5f02ec63781375240383ef8dbb83ed01b2b99cbbf5ab5a316a52 |