Usage
To import the Class and satellite APIs for mainnet and testnet:
from blocksat_api import blocksat
Create a new order object to place a new order, increase an order bid, get an order status or delete an order:
# create a new order object with optional message and network
o = blocksat.Order(message='Hello, world.', network='mainnet')
Methods called will return nothing upon success, storing the API status_code and a json-encoded response.text in the appropriate object attribute.
To check pending orders, queued orders, sent orders or the satellite lightning node info use the external methods which return a successful result as a json of response.text and a failure as a tuple of (response.status_code, response.reason, response.text):
# to check sent_orders
sent_orders = blocksat.sent_orders(sat_url=blocksat.SATELLITE_API)
Metadata
Release files for blocksat-api 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 |
|---|---|---|---|---|
| blocksat_api-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for blocksat_api-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blocksat_api-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for blocksat_api-1.0.0-py3-none-any.whl |
Total release size: 5.6 kB
Release files / blocksat_api-1.0.0.tar.gz
| Download URL | blocksat_api-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
090c640fd70786b0e9e948b45f8f094e9070580ad57a9398da4c4d39992211c9
|
|
BLAKE2b-256 checksum How to use checksums |
ff8f9ed0d57cafa18ef734f5efc3f7c60da90fe48f448ed2ff67eb0c8d9ae285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / blocksat_api-1.0.0-py3-none-any.whl
| Download URL | blocksat_api-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32cef3a0330b9cc810987f2876874db65844e267646a595f69ed3580114d5dcd
|
|
BLAKE2b-256 checksum How to use checksums |
f5180a4c839959cfbee81db6389c53cef02f74ea5d0988c89ffb8bd134f905fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for blocksat-api 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.