aioradios
aioradio is an asynchronous API wrapper for www.radio-browser.info
Installation
Use the package manager pip to install aioradios.
pip install aioradios
Example usage
in:
from aioradios import RadioBrowser
async def main():
rb = RadioBrowser()
await rb.init()
radio = await rb.search(name='UpBeatRadio', limit=1)
out:
[
{
"changeuuid":"29c0910a-2fae-4623-8054-eaee674fe602",
"stationuuid":"ad95f623-c7fd-4ecb-98d5-32242708ce63",
"name":"UpBeatRadio",
"url":"http://live.upbeat.pw/",
"url_resolved":"http://live.upbeat.pw/",
"homepage":"https://upbeat.pw/",
"favicon":"http://upbeatradio.net/UpBeat.png",
"tags":"",
"country":"UK",
"countrycode":"",
"state":"",
"language":"english",
"votes":0,
"lastchangetime":"2020-06-23 12:38:08",
"codec":"MP3",
"bitrate":128,
"hls":0,
"lastcheckok":1,
"lastchecktime":"2020-11-04 04:14:11",
"lastcheckoktime":"2020-11-04 04:14:11",
"lastlocalchecktime":"2020-11-03 19:16:54",
"clicktimestamp":"2020-10-22 15:09:37",
"clickcount":8,
"clicktrend":0
}
]
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Documentation
For documentation do:
from aioradios import RadioBrowser
help(RadioBrowser())
License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioradios-0.2.6.tar.gz
(7.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioradios-0.2.6.tar.gz.
File metadata
- Download URL: aioradios-0.2.6.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a10669206fe5969b144b7556db82de1434a67d14eed663bbb678ddb452e8bc
|
|
| MD5 |
763b243f26cf27095121043fbdd256ce
|
|
| BLAKE2b-256 |
3248a5e205454e4342dd7499a6c1d46736d5a3d00ab17ead8e2a8d317a9b6631
|
File details
Details for the file aioradios-0.2.6-py2.py3-none-any.whl.
File metadata
- Download URL: aioradios-0.2.6-py2.py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bcd7dc4e81c38b88af4d7aa8780a3db0d7d6597909a54dbcc5667151282b4ff
|
|
| MD5 |
204fc9339f34de2ebf5cc25fbe9d1c18
|
|
| BLAKE2b-256 |
8c531cf3af8c2cbd6e8c594014ec93e409ad05f39df061eb5432123969e94f54
|