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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wistiapy-0.0.8.tar.gz
.
File metadata
- Download URL: wistiapy-0.0.8.tar.gz
- Upload date:
- Size: 9.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cdd1ca0cb544f6e0ede2700990f3e7c1bfbee7616bb46579a137779ba19cd11 |
|
MD5 | 357b982623973ee71d051355d81cfceb |
|
BLAKE2b-256 | 589191b0ab1909f4eab00e629ec0f10fa353ef40ce8c9defe1c3a01c1f2e75f8 |
File details
Details for the file wistiapy-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: wistiapy-0.0.8-py3-none-any.whl
- Upload date:
- Size: 12.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7956f3724dcd13aa93d9437c5974cb28de499fd0d97d862879c20b571165f8b |
|
MD5 | c7c3f2a4cca1bbdd4c4a95dd32283aba |
|
BLAKE2b-256 | 4f0a2cb6d023ead270e3a78d91d46d91b7c3a54b3e1aab1f6bef23a82b7c751f |