Skip to main content

Official Python client for the Blueticks API.

Project description

blueticks — Python client for the Blueticks API

Official Python SDK for Blueticks.

Install

pip install blueticks

Quickstart

from blueticks import Blueticks

client = Blueticks(api_key="BLUETICKS_API_KEY")
ping = client.ping()
account = client.account.retrieve()
print(account.name)

See https://docs.blueticks.co for full documentation.

Migrating from 3.x → 4.0

The backend renamed the queued-send domain on the wire: POST/GET/PATCH /v1/messages*POST/GET/PATCH /v1/scheduled-messages*. To match, the SDK has dropped the client.messages resource and moved every queued-send method onto client.scheduled_messages. The legacy client.messages.send(...) is renamed to client.scheduled_messages.create(...).

# Before (3.x)
client.messages.send(to="+1...", type="text", text="hi")
client.messages.retrieve("msg_1")
client.messages.list()
client.messages.update("msg_1", text="edited")

# After (4.0)
client.scheduled_messages.create(to="+1...", type="text", text="hi")
client.scheduled_messages.retrieve("msg_1")
client.scheduled_messages.list()
client.scheduled_messages.update("msg_1", text="edited")

The response type was likewise renamed MessageScheduledMessage (same fields). Import from blueticks.types.scheduled_messages instead of blueticks.types.messages.

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

blueticks-4.0.0.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

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

blueticks-4.0.0-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file blueticks-4.0.0.tar.gz.

File metadata

  • Download URL: blueticks-4.0.0.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for blueticks-4.0.0.tar.gz
Algorithm Hash digest
SHA256 cc83debcdbcb994ee4a695ee74b8c898dbc705f60457027d66bf669c12ae240f
MD5 6eda9c3e5c669abbfd0a07e92afe5884
BLAKE2b-256 051b0a16ecba3afd460c48e8ce05c4af31f0b096f29ce004ec310d1120de0604

See more details on using hashes here.

Provenance

The following attestation bundles were made for blueticks-4.0.0.tar.gz:

Publisher: publish.yml on serenix-com/blueticks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blueticks-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: blueticks-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for blueticks-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d2cae0e4c22a766baf1c6d5082b31d8592446b96125c272bafb15bffb31d582
MD5 5e56b6ce7b2e97d7a03b9b8d8f1bc5eb
BLAKE2b-256 ca37d0aa96d0d262107f147720968356000c1ba2d34b4468c97f0eb1800a8455

See more details on using hashes here.

Provenance

The following attestation bundles were made for blueticks-4.0.0-py3-none-any.whl:

Publisher: publish.yml on serenix-com/blueticks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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