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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wistiapy-0.0.15.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wistiapy-0.0.15.tar.gz
Algorithm Hash digest
SHA256 a84f215af8fa7aabbeff13dba9d97d8817a22731c056d03b5412554de189f3de
MD5 4680dbf04eb18b2533136a884ae8aa9a
BLAKE2b-256 3e8b880f61bbdf9b79f13b4d3e7b570d02d6443456500f1cda7c28fd03526a34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wistiapy-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wistiapy-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 cef9358782c2198e3e3a12e1c75715436fafa07767a362006d1a119ec7cd2800
MD5 917c40680443e98c40c64b50c0977a81
BLAKE2b-256 b2727838bc19587779875ca80369eea824d24aa42bd5061abe16ae050599b79c

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