kingpulse-sdk
Official, dependency-free Python client for the KingPulse Developer API.
Install from PyPI:
python3 -m pip install kingpulse-sdk
import os
from kingpulse_sdk import KingPulseClient
client = KingPulseClient(api_key=os.environ["KINGPULSE_API_KEY"])
markets = client.list_markets(q="KING", limit=10)
created = client.create_paper_bot({
"name": "EMA hourly",
"strategy": "ema",
"marketAddress": "0x1111111111111111111111111111111111111111",
"interval": "1h",
"initialQuote": "10000",
})
print(markets, created["bot"]["id"])
Methods: list_markets, get_market, list_tokens, list_swaps, list_candles, list_liquidity, get_stats, list_paper_bots, create_paper_bot, and delete_paper_bot.
Safety
- Keep the key in a server-side environment variable or secret manager; do not put it in a browser, public app, or source control.
- Bot API calls create inactive paper profiles only. They do not execute strategies, sign transactions, or place live trades.
- Catch
KingPulseApiErrorto inspectstatus,body, andrate_limit. Network errors are raised by Python'surllib. - HTTPS is required except for localhost development. The default origin is
https://kingel3ba.com.
The public PyPI release is pending initial registry publication.
Metadata
Release files for kingpulse-sdk 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 |
|---|---|---|---|---|
| kingpulse_sdk-1.0.0.tar.gz | 4.4 kB | Without provenance | Details for kingpulse_sdk-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kingpulse_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for kingpulse_sdk-1.0.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / kingpulse_sdk-1.0.0.tar.gz
| Download URL | kingpulse_sdk-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f26b405559e04910fa0baf0e8c244c2199179ed2f12b353e20e752b9bd16153
|
|
BLAKE2b-256 checksum How to use checksums |
c76861e2dc6dab477993d410bf68d4141e03b1670a0bb44a08a55d4e1b7d4843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / kingpulse_sdk-1.0.0-py3-none-any.whl
| Download URL | kingpulse_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eaed6926d47a896305b3c9e7235213c24584ddba8d1b73180d5b7dcdd6267ed7
|
|
BLAKE2b-256 checksum How to use checksums |
d7c26bc124b769f86b4e03bc41b07df98a99203c0cb96eb4f7794f2dc6b9cb2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for kingpulse-sdk 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.