Skip to main content

BlockPayments.py

BlockPayments python api wrapper

Examples:

"""This example will use sincronous requests."""
from BlockPayments import BlockPayments
blockpayments = BlockPaymets("my_api_key")


# Get a payment url
print(blockpayments.get_payment_url(
    user_id=123 # replace with your telegram user id
    amount=0.001 # replace with the amount of the currency you want to receive
    currency="BTC" # replace with the currency you want to receive (BTC, ETH, LTC or BSC)
))
"""This example will use asincronous requests."""
from BlockPayments import AsyncBlockPayments
import asyncio
blockpayments = AsyncBlockPaymets("my_api_key")

async def main():
    # Get a payment url
    print(await blockpayments.get_payment_url(
        user_id=123 # replace with your telegram user id
        amount=0.001 # replace with the amount of the currency you want to receive
        currency="BTC" # replace with the currency you want to receive (BTC, ETH, LTC or BSC)
    ))

asyncio.run(main())

Metadata

Release files for BlockPayments 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BlockPayments 0.0.1
File Size Uploaded Provenance Actions
BlockPayments-0.0.1.tar.gz 3.1 kB Without provenance Details for BlockPayments-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for BlockPayments 0.0.1
File Interpreter ABI Platform Actions
BlockPayments-0.0.1-py3-none-any.whl Python 3 none any Details for BlockPayments-0.0.1-py3-none-any.whl

Total release size: 6.8 kB

Release files / BlockPayments-0.0.1.tar.gz

Download URL BlockPayments-0.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
df0ac97322b8c09d7e7ee27c398247424bdd572ff92ce53496724a8ffe2ed1c8
BLAKE2b-256 checksum
How to use checksums
58ca7d1d99ac63300b036ea4789e29675df9c71e0385b5a7c588d475485b40fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / BlockPayments-0.0.1-py3-none-any.whl

Download URL BlockPayments-0.0.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23f20afb46abc634380821f738d5ec676810de58938fb70da2a8bf0a20df590f
BLAKE2b-256 checksum
How to use checksums
b4e556eace9c154cc06ed9e702b54cfcc8bb24c9afe0ce546f5847ee7b2cb43f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for BlockPayments 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page