roonapi 0.0.16
pip install roonapi==0.0.16
Newer version available (0.1.6)
Released:
Provides a python interface to interact with Roon
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- Author: Marcel van der Veldt
Classifiers
- Operating System
- Programming Language
Project description
python-roon
python library to interface with the Roon API (www.roonlabs.com)
Full documentation will follow asap See the tests folder for some more code examples.
Some example code:
from roon import RoonApi
appinfo = {
"extension_id": "python_roon_test",
"display_name": "Python library for Roon",
"display_version": "1.0.0",
"publisher": "marcelveldt",
"email": "mygreat@emailaddress.com"
}
token = open('mytokenfile').read()
roonapi = RoonApi(appinfo, token)
# get all zones (as dict)
print(roonapi.zones)
# get all outputs (as dict)
print(roonapi.outputs)
# receive state updates in your callback
roonapi.register_state_callback(my_state_callback)
# save the token for next time
with open('mytokenfile', 'w') as f:
f.write(roonapi.token)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- Author: Marcel van der Veldt
Classifiers
- Operating System
- Programming Language
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
File details
Details for the file roonapi-0.0.16.tar.gz
.
File metadata
- Download URL: roonapi-0.0.16.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
17665cb3f72eb19d28eaf18dc23d361d07b9682888ecb624ff4ae05df0fd9281
|
|
MD5 |
0f0d165cf663ae31f4aa0da5559981fe
|
|
BLAKE2b-256 |
4fab41841f5a3cfe4ea2610f313483b713e7b48eaf5c8195dd6bf47ccc18267c
|
File details
Details for the file roonapi-0.0.16-py2.py3-none-any.whl
.
File metadata
- Download URL: roonapi-0.0.16-py2.py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1a67db4f9e20d09c5f906ebf2cc065856ea815ac57574e8dfd92c2b074c5651a
|
|
MD5 |
3e7076244dec8d07ad0a81a5f4c30b06
|
|
BLAKE2b-256 |
7ad356e55f552167ed2332e32ea98298d77496c92f0f0ad11425a29c36801da8
|