Skip to main content

NOWPayments python API

Project description

NOWPayments-Python-API

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

A Python wrapper for the NOWPaiments 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_status()

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

from nowpayments.sandbox import NOWPayments
payment = NOWPayments("SANDBOX_API_KEY")

status = payment.get_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.0.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

nowpayments-1.0.0-py3-none-any.whl (4.1 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