Skip to main content

The official Python client library for Streambird.io, the Passwordless Authentication Platform

Project description

Streambird | Python API Client

Installation

Install with PyPI (pip)

$ pip install --upgrade streambird

or install with Anaconda (conda)

$ conda install -c conda-forge streambird

Usage

import streambird

sb_client = streambird.Client("YOUR_API_KEY_HERE")

Error handling

If something went wrong while making API calls, then exceptions will be raised automatically as a StreambirdException parent type and child exceptions:

  • StreambirdInvalidRequest: 400 - Bad Request -- The request was unacceptable, often due to missing a required parameter.
  • StreambirdUnauthorized: 401 - Unauthorized -- No valid API key provided.
  • StreambirdNotEnabled: 402 - Not enabled -- Please contact support@streambird.io before creating this type of task.
  • StreambirdResourceNotFound: 404 - Not Found -- The requested resource doesn't exist.
  • StreambirdDuplicateResource: 409 - Conflict -- Object already exists with same name, idempotency key or unique_id.
  • StreambirdTooManyRequests: 429 - Too Many Requests -- Too many requests hit the API too quickly.
  • StreambirdInternalError: 500 - Internal Server Error -- We had a problem with our server. Try again later.
  • StreambirdServiceUnavailable: 503 - Server Timeout From Request Queueing -- Try again later.
  • StreambirdTimeoutError: 504 - Server Timeout Error -- Try again later.

Check out Streambird's API documentation for more details.

Troubleshooting

If you notice any problems, please email us at support@streambird.io.

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

streambird-1.0.3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

streambird-1.0.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file streambird-1.0.3.tar.gz.

File metadata

  • Download URL: streambird-1.0.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.5

File hashes

Hashes for streambird-1.0.3.tar.gz
Algorithm Hash digest
SHA256 262cb8c458c71a6cd718c5f534cf29d61ed70301e59fc36a1338b1312ce2633e
MD5 6623dcf1b0587410964a3276b96859fe
BLAKE2b-256 e4e41442faf18870897bf4e92d961646c8e8943a61325c0b0d1af828a392015f

See more details on using hashes here.

File details

Details for the file streambird-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: streambird-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.5

File hashes

Hashes for streambird-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 681d739bdb6345a82f97328e8528688a751ea0a2cd52f4cc6d460046a5df14e7
MD5 5f48449bea3b19a5cbb4d37b89cbce88
BLAKE2b-256 fe50cc859119a5ce94421cec1a74706e9c64ba77b6098dfcd1a6b117a5a05b80

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