Python Boilerplate contains all the boilerplate you need to create a Python package.
Project description
Early days of this API. Plan is to use this for home assistant. Basics are only item build for auth so far.
To run this code for test I am doing:
from pathlib import Path import logging import sys import os path_root = r"C:path to files GitHub\main\yoto_api" sys.path.append(str(path_root)) from yoto_api import \* logging.basicConfig(stream=sys.stdout, level=logging.DEBUG, format='%(asctime)s %(name)s %(levelname)s:%(message)s') logger = logging.getLogger(**name**) ym = YotoManager(username="username", password="password") ym.check_and_refresh_token() ym.update_player_status() print (ym.players)
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
yoto_api-1.2.4.tar.gz
(14.9 kB
view details)
Built Distribution
yoto_api-1.2.4-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file yoto_api-1.2.4.tar.gz
.
File metadata
- Download URL: yoto_api-1.2.4.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c028493b57b3c4f9ec840160946645caeab8dab44fb5dc404072c820d4e7148f |
|
MD5 | 6542220b1800151b2622309831ae2707 |
|
BLAKE2b-256 | a7754dd0a1f49060f7346505f77bee3c157a3ba4d7788d9e11a8fea9f77ab9f9 |
File details
Details for the file yoto_api-1.2.4-py3-none-any.whl
.
File metadata
- Download URL: yoto_api-1.2.4-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb5379afa2cd53e64cd950ae9ccf6dcae9f61ff8864f3414948379e9527230f8 |
|
MD5 | db2f58b25f5cf23359b04ebc5b1ce4ac |
|
BLAKE2b-256 | e182bcd77aa8f81ea21d3be8b29a7ea75d125b81e380137195e0a19194cf097c |