priyank-py / NOWPayments-Python-API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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()

About


Languages

Language:Python 100.0%