Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aioradios

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aioradios

An asynchronous API wrapper for www.radio-browser.info

  • 0.2.6
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc