Skip to main content

Official Python SDK for SIGNAL.ZERO

Project description

SIGNAL.ZERO Python SDK

Official Python SDK for SIGNAL.ZERO.

Install

pip install signalzero-sdk

Usage

Public client (no API key)

from signalzero_sdk import SignalZeroPublicClient

client = SignalZeroPublicClient(base_url="https://www.signalzero.ink")
status = client.wallet_status("0xYOUR_ADDRESS", chain_id=84532)
print(status)

Partner client (server-side only)

import os
from signalzero_sdk import SignalZeroPartnerClient

client = SignalZeroPartnerClient(
  base_url="https://www.signalzero.ink",
  api_key=os.environ["SIGNALZERO_API_KEY"],
)

history = client.wallet_history("0xYOUR_ADDRESS", limit=200)
print(history)

Error handling

On API errors, the SDK raises SignalZeroError with status_code and error (the server error code).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signalzero_sdk-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

signalzero_sdk-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file signalzero_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: signalzero_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for signalzero_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 289fdbea5fec29a3a5d16d064e142a9527d595ae6b5ce0fe4d3106de3cb32387
MD5 522a809f142c5b37e573ed5fbf848d2d
BLAKE2b-256 09149331d0dbfca508d882f553414f4d9975c5b60a12aca6f16024e43000aeb9

See more details on using hashes here.

File details

Details for the file signalzero_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: signalzero_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for signalzero_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 467e8e2f412cebdb9f0b3e0c5eb51db4c415be8d647adb43832baaa7e2849907
MD5 48f1f6b74fb34622318b872bdf6c3486
BLAKE2b-256 b98bb63847660b17b6824a7c9c94ea260c4d028364c749289f4901ccc7b2492f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page