A Python wrapper for the http://www.radio-browser.info/webservice
Project description
Pyradios
A Python wrapper for the Radio Browser.
Installation
pip install pyradios
Usage example
In [1]: from pyradios import RadioBrowser
In [2]: rb = RadioBrowser()
In [3]: rb.stations_byid('92585')
Out[3]:
[{'id': '92585',
'changeuuid': 'e78eb8c0-1a25-11e8-a334-52543be04c81',
'stationuuid': '9621d43e-0601-11e8-ae97-52543be04c81',
'name': 'Radio Maria Südtirol',
'url': 'http://s1.shoutitaly.com:8020/;',
'homepage': 'http://radiomaria.bz.it/',
'favicon': 'http://radiomaria.bz.it/wp-content/uploads/2013/04/Radio-Maria-S%C3%BCdtirol-340.jpg',
'tags': 'bressanone,talk,catholic,christian',
'country': 'Italy',
'state': 'Trentino-Alto Adige/Südtirol',
'language': 'German',
'votes': '10',
'negativevotes': '0',
'lastchangetime': '2018-02-25 13:17:54',
'ip': '176.31.180.157',
'codec': 'MP3',
'bitrate': '128',
'hls': '0',
'lastcheckok': '1',
'lastchecktime': '2018-09-03 08:56:36',
'lastcheckoktime': '2018-09-03 08:56:36',
'clicktimestamp': '2018-09-03 09:57:59',
'clickcount': '0',
'clicktrend': '0'}]
Development Setup
$ virtualenv venv
$ source venv/bin/activate
$ python setup.py develop
Run Tests
$ virtualenv venv
$ source venv/bin/activate
$ python setup.py test
Release History
- Work in progress
Meta
Andre P. Santos – @ztzandre – andreztz@gmail.com
Distributed under the MIT LICENSE. See LICENSE
for more information.
Contributing
- Fork it (https://github.com/andreztz/pyradios/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pyradios-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25070c7690c1dcca1fec08af71deaac79fc3c3f1de35b448a788409ae9b2db6f |
|
MD5 | e9cdc07b35b8f394980e0202d6ad9c24 |
|
BLAKE2b-256 | e4b05decc1174b16954865b4db58d062dc802b76c2e9580e41c1c1a26a753e54 |