Skip to main content

3Play API Helper

https://img.shields.io/pypi/v/three-play.svg https://img.shields.io/travis/rnag/three-play.svg Documentation Status Updates

A Python wrapper library for the 3Play API v3

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.

Metadata

Release files for three-play 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for three-play 0.1.1
File Size Uploaded Provenance
three-play-0.1.1.tar.gz 23.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for three-play 0.1.1
File Interpreter ABI Platform
three_play-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 47.6 kB

Release files / three-play-0.1.1.tar.gz

Download URL three-play-0.1.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
197bcb8db4e0948832416c84ae4c45e9afa900e14db741eeb279356767088342
BLAKE2b-256 checksum
How to use checksums
4899f5b4fe4985197476d3b9964dfcc532d8c6cdc2b365a0828c6ccd800c239c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.0

Release files / three_play-0.1.1-py2.py3-none-any.whl

Download URL three_play-0.1.1-py2.py3-none-any.whl
Size 24.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
693c276cff2acf547564bd94fcc70f9e17f6e9a45c0921fbc24f3590b6c2e792
BLAKE2b-256 checksum
How to use checksums
ee81d0b177d5876351a2c073faf890560c00510c122ba9a6525345c3108ba46d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.0

Security for three-play 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page