Skip to main content

Python 4YouSee Manager API Wrapper

PyPI version GitHub Compatible Versions Codecov Documentation Status PyPI - Downloads

This library is a Python wrapper around the 4YouSee REST API.

Requires Python 3.8 or later.

Source code

https://github.com/Alfareiza/4yousee

Documentation

https://fouryousee.readthedocs.io/

Getting Started

To use the Python API, first install it from PyPI using pip, then execute:

pip install fouryousee

Once you have it installed, get an API key from How to get a Token to integrate with the API of 4YouSee Manager. If this link is broken feel free to contact to suporte@4yousee.com.br

>>> from fouryousee.fouryousee import FouryouseeAPI
>>> client = FouryouseeAPI(TOKEN_APP_KEY)
>>> client.get_players()
[{'id': 1, 'name': 'Player DEMO', 'description': 'Ponto de demonstração disponibilizado na instalação do 4YouSee Manager.Player demo available on  4YouSee Manager installation.', 'platform': 'ANDROID', 'lastContactInMinutes': 210796, 'group': {'id': 1, 'name': 'Group DEMO'}, 'playerStatus': {'id': 5, 'name': 'Local assist needed', 'time': 9999999}, 'playlists': {'0': {'id': 3, 'name': 'Novo'}, '1': {'id': 3, 'name': 'Novo'}, '2': {'id': 3, 'name': 'Novo'}, '3': {'id': 3, 'name': 'Novo'}, '4': {'id': 3, 'name': 'Novo'}, '5': {'id': 3, 'name': 'Novo'}, '6': {'id': 3, 'name': 'Novo'}}, 'audios': {'0': {'id': 1, 'name': 'Contenido Vertical'}}, 'lastLogReceived': '2022-01-26 13:49:28'}, {'id': 2, 'name': '2Outputs', 'description': '', 'platform': '4YOUSEE_PLAYER', 'lastContactInMinutes': 413, 'group': {'id': 3, 'name': 'Clientes Barrio Sur A'}, 'playerStatus': {'id': 4, 'name': 'Assistance needed', 'time': 1440}, 'playlists': {'0': {'id': 70, 'name': 'Test 4uc'}, '1': {'id': 70, 'name': 'Test 4uc'}, '2': {'id': 70, 'name': 'Test 4uc'}, '3': {'id': 70, 'name': 'Test 4uc'}, '4': {'id': 70, 'name': 'Test 4uc'}, '5': {'id': 70, 'name': 'Test 4uc'}, '6': {'id': 70, 'name': 'Test 4uc'}}, 'audios': {'0': None}, 'lastLogReceived': '2022-06-21 13:11:38'}]

Once you have set the user's token, all calls to the API will include that token, as if the user was logged in.

Author

Alfonso AG - alfareiza@gmail.com

New contributers and pull requests are welcome.

Metadata

Release files for fouryousee 0.3

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

Source distribution (sdist)

Source distribution for fouryousee 0.3
File Size Uploaded Provenance Actions
fouryousee-0.3.tar.gz 32.5 kB Without provenance Details for fouryousee-0.3.tar.gz

Release files / fouryousee-0.3.tar.gz

Download URL fouryousee-0.3.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
509fac3ec35226fc3abd30056b13ce1bc5d085d4d947ac5fdb85291ecff59d37
BLAKE2b-256 checksum
How to use checksums
f7be7ebaa985bda5c633b9432e4b4122cb2a7c4eede7b51ac409194b08eab70d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for fouryousee 0.3

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.3 This release

1 release file 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