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 = 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
Metadata
Release files for aioradios 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioradios-0.2.tar.gz | 6.1 kB | Without provenance | Details for aioradios-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioradios-0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for aioradios-0.2-py2.py3-none-any.whl |
Total release size: 15.5 kB
Release files / aioradios-0.2.tar.gz
| Download URL | aioradios-0.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e0e0c2077463fc988a4cf12cd2e257d7341205bd354a424ca7add1d604947f
|
|
BLAKE2b-256 checksum How to use checksums |
7324336a751425c55315b9d737d0b22e2cab4a204d527c969a28c363f89a8e97
|
| 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-py2.py3-none-any.whl
| Download URL | aioradios-0.2-py2.py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bd2bbbac9aba49d42494eb69cecae50bdec2c98102cf5b2e93f347e67fac4e75
|
|
BLAKE2b-256 checksum How to use checksums |
5bae6e1a56deb1729b414c7023f39f0167cb4c2e6ca1894648af0558398308d3
|
| 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
|
Security for aioradios 0.2
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.