Skip to main content

A Python wrapper for the NOWPayments API

Project description

NOWPayments-Python-API

CodeQL Pylint Python application Python package Upload Python Package codecov Black Code style: black

A Python wrapper for the NOWPayments API.

The api call descriptions are from the official documentation.

Getting Started

Before using the NOWPayments API, sign up for a API key here.

If you want to use the Sandbox, request your API key here.

To install the wrapper, enter the following into the terminal.

pip install nowpayments

Every api call requires this api key. Make sure to use this key when getting started.

from nowpayments import NOWPayments
payment = NOWPayments("API_KEY")

status = payment.get_api_status()

Sandbox is used in the same way in correspondence with the documentation as follows.

from nowpayments import NOWPaymentsSandbox

payment = NOWPaymentsSandbox("SANDBOX_API_KEY")

status = payment.get_api_status()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nowpayments-1.3.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

nowpayments-1.3.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page