semvec/pypi-packages huggingface dataset:
threeplay 0.1.1
A Python library for the 3Play API v3
License: MIT license
Requires Python: >=3.7
Keywords: threeplay

=========
3Play API
=========


.. image:: https://img.shields.io/pypi/v/threeplay.svg
        :target: https://pypi.python.org/pypi/threeplay

.. image:: https://img.shields.io/travis/rnag/threeplay.svg
        :target: https://travis-ci.com/rnag/threeplay

.. image:: https://readthedocs.org/projects/threeplay/badge/?version=latest
        :target: https://threeplay.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status


.. image:: https://pyup.io/repos/github/rnag/threeplay/shield.svg
     :target: https://pyup.io/repos/github/rnag/threeplay/
     :alt: Updates



A Python library for the 3Play API v3


* Free software: MIT license
* Documentation: https://threeplay.readthedocs.io.

Usage
-----

.. code-block:: python3

    from threeplay.v3 import *
    from threeplay.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)

Supported Versions
------------------
The ``threeplay`` 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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.1.1 (2021-06-11)
------------------

* Gotta squash some bugs.

0.1.0 (2021-06-11)
------------------

* First release on PyPI.