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

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.6.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

wistiapy-0.0.6-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wistiapy-0.0.6.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for wistiapy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 02a0395568824a929fca126c9aaf7bc6ea6a18cbe65b771f3ffd322d3958792b
MD5 fe5fb68d7ab9093b24e5d867fb82736c
BLAKE2b-256 7cf2fdd1bb4c8ffdea7a4fa3a0f4d6d0de14a4092efbaf125d12f01d4f38bc8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wistiapy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for wistiapy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ce4388c37c547c2938f81d78f728da879550ef1f927edd89f57891027206f40d
MD5 038ce320b171170002d58f1ce71d3589
BLAKE2b-256 25e59de8478fb60847c279f2251e0f9e64321a7d2eb664ea914e29e35ec81d3d

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