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
Release files for aioradios 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioradios-0.2.3.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioradios-0.2.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / aioradios-0.2.3.tar.gz
| Download URL | aioradios-0.2.3.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd32495749e815cfdf4abbe2a8120d0eb91fb514f375604678967205c8c55f0d
|
|
BLAKE2b-256 checksum How to use checksums |
ce3412c1442287b85d38861ef63769917ef7f3eefe0f1214f119616862f23b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7
|
Release files / aioradios-0.2.3-py2.py3-none-any.whl
| Download URL | aioradios-0.2.3-py2.py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8dbef3c5caa913bd5d0f4bbc159751044b502fc493575748edee3cd52476becd
|
|
BLAKE2b-256 checksum How to use checksums |
f6baab5796b62f4dbf4e0dbd727f52784b435d6d273ab86e898f8c9ecb177d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7
|