Skip to main content

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

MIT

Metadata

Release files for aioradios 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioradios 0.2.6
File Size Uploaded Provenance Actions
aioradios-0.2.6.tar.gz 7.0 kB Without provenance Details for aioradios-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aioradios 0.2.6
File Interpreter ABI Platform Actions
aioradios-0.2.6-py2.py3-none-any.whl Python 2, Python 3 none any Details for aioradios-0.2.6-py2.py3-none-any.whl

Total release size: 16.5 kB

Release files / aioradios-0.2.6.tar.gz

Download URL aioradios-0.2.6.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
81a10669206fe5969b144b7556db82de1434a67d14eed663bbb678ddb452e8bc
BLAKE2b-256 checksum
How to use checksums
3248a5e205454e4342dd7499a6c1d46736d5a3d00ab17ead8e2a8d317a9b6631
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / aioradios-0.2.6-py2.py3-none-any.whl

Download URL aioradios-0.2.6-py2.py3-none-any.whl
Size 9.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5bcd7dc4e81c38b88af4d7aa8780a3db0d7d6597909a54dbcc5667151282b4ff
BLAKE2b-256 checksum
How to use checksums
8c531cf3af8c2cbd6e8c594014ec93e409ad05f39df061eb5432123969e94f54
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for aioradios 0.2.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page