A Python wrapper library for the 3Play API v3
Project description
3Play API Helper
A Python wrapper library for the 3Play API v3
Free software: MIT license
Documentation: https://three-play.readthedocs.io.
Usage
from three_play.v3 import *
from three_play.v3.models import *
# Assuming you haven't set this via the environment variable
ThreePlayApi.configure('MY-API-KEY')
r = ThreePlayApi.list_media_files(name_partial='Testing')
file_data = r.get('data', [])
files = [MediaFile(**file) for file in file_data]
print(len(files), files)
transcripts = ThreePlayHelper.get_transcripts('my-video-id')
print(len(transcripts), transcripts)
Installing
The 3Play helper library is available on PyPI:
$ python -m pip install three-play
Supported Versions
The three-play helper library officially supports Python 3.7 or higher.
About
I recommend reading the documentation in the source code for important HOW-TO’s and info on what each helper function is doing.
I’ll need to write some kind of documentation eventually, but that’s still pending for now.
At a minimum I recommend setting these 2 environment variables:
3PLAY_API_KEY - API Key to use for requests to 3Play API
INTEGRATION_ID - Service Integration ID on 3Play - for example, an integration /w YouTube
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.1 (2021-06-11)
Update docs
0.1.0 (2021-06-11)
First release on PyPI.
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
Hashes for three_play-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 693c276cff2acf547564bd94fcc70f9e17f6e9a45c0921fbc24f3590b6c2e792 |
|
MD5 | 9844acbabd7ee3c9b402e73d6f7f02ca |
|
BLAKE2b-256 | ee81d0b177d5876351a2c073faf890560c00510c122ba9a6525345c3108ba46d |