Skip to main content

A Python client for the Wistia data API

Project description

Wistia Python client

A Python client for the Wistia Data API

PyPI version

Installation

pip install wistiapy

You'll need to create an access token as documented.

Usage

from wistia import WistiaClient
wistia = WistiaClient(api_password='YOUR_API_PASSWORD')
projects = wistia.list_projects()

Alternatively, you can set your password in an environment variable, or, if using Django, in a setting called WISTIA_API_PASSWORD. Then use the factory function:

from wistia import get_wistia_client
wistia = get_wistia_client()

Dummy Client

Included is a mock version of the client for testing purposes. It will log any calls made to it, and attempts to respond in the same manner as the live service. Currently a work-in-progress. If using Django, including the setting WISTIA_CLIENT_CLASS = 'WistiaDummyClient' will make get_wistia_client provide a dummy client.

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

wistiapy-0.0.9.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

wistiapy-0.0.9-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file wistiapy-0.0.9.tar.gz.

File metadata

  • Download URL: wistiapy-0.0.9.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for wistiapy-0.0.9.tar.gz
Algorithm Hash digest
SHA256 571d43f70408a3635ada88a8c3f9702e91db98747c3b9e0c97aac94c39bae07e
MD5 4bd6b45572b953f3092cdb0df5ddf930
BLAKE2b-256 cf9d8591a4010f8933f26ed4d8e4494234884e4a3b5b6ff6217fad0ec5badc47

See more details on using hashes here.

File details

Details for the file wistiapy-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: wistiapy-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for wistiapy-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 069a18cd2648dcb9ec02b900782e26a231ad2683d4785f69b619d3f51199eada
MD5 d255e3ffb9740179deef1334a8d110c7
BLAKE2b-256 a558c14bd45031bbc9f13fe9a97900e032522f6bf98daf6c7f6c1484841ea0da

See more details on using hashes here.

Supported by

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