pycoinpayments
================================
Overview
Python API client for the CoinPayments <https://www.coinpayments.net>
Note: This is not the official python client for the Coinpayments API
Documentation
Please see https://www.coinpayments.net/api.php for the most up-to-date documentation for the Paystack API.
Installation
pip install pycoinpayments
Example
You can take a look at the sample.py file provided in the repo.
A basic usage would be:
from pycoinpayments import CoinPayments
create_transaction_params = {
'amount': 10,
'currency1': 'USDT.BEP20',
'currency2': 'USDT.BEP20',
'buyer_email': 'confiyobo@gmail.com'
}
cp = CoinPayments(
'PrivateKey',
'PublicKey')
transaction = cp.create_transaction(create_transaction_params)
if transaction['error'] == 'ok':
print(transaction['amount'])
print(transaction['address'])
else:
print(transaction['error'])
Metadata
Release files for pycoinpayments 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycoinpayments-1.0.0.tar.gz | 5.3 kB | Without provenance | Details for pycoinpayments-1.0.0.tar.gz |
Release files / pycoinpayments-1.0.0.tar.gz
| Download URL | pycoinpayments-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c341b4b49ccc80709d9367536c885d772b9b22ed4a0ca23141fd2c361462dfa3
|
|
BLAKE2b-256 checksum How to use checksums |
6df245e08ad8c4f435a4654face315ff53c1277a6c546ec0ed9b918ccc105a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
|
Security for pycoinpayments 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.