pyradios


Namepyradios JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://github.com/andreztz/pyradios
SummaryPython client for the Radio Browser API
upload_time2023-12-13 10:54:33
maintainer
docs_urlNone
authorAndré P. Santos
requires_python>=3.6
licenseMIT
keywords pyradios wrapper radios api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pyradios

![Upload Python Package](https://github.com/andreztz/pyradios/workflows/Upload%20Python%20Package/badge.svg)
![Python package](https://github.com/andreztz/pyradios/workflows/Python%20package/badge.svg)

> Python client for the [Radio Browser API](https://api.radio-browser.info)


## Installation

```sh
 pip install pyradios
```

## Examples

```sh
In [1]: from pyradios import RadioBrowser

In [2]: rb = RadioBrowser()

In [3]: rb.search(name="BBC Radio 1", name_exact=True)
Out[3]:
[{'changeuuid': '4f7e4097-4354-11e8-b74d-52543be04c81',
  'stationuuid': '96062a7b-0601-11e8-ae97-52543be04c81',
  'name': 'BBC Radio 1',
  'url': 'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p',
  'url_resolved': 'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p',
  'homepage': 'http://www.bbc.co.uk/radio1/',
  'favicon': 'https://cdn-radiotime-logos.tunein.com/s24939q.png',
  'tags': 'bbc,indie,entertainment,music,rock,pop',
  'country': 'United Kingdom',
  'countrycode': 'GB',
  'state': '',
  'language': 'english',
  'votes': 5018,
  'lastchangetime': '2020-01-19 13:17:11',
  'codec': 'MP3',
  'bitrate': 128,
  'hls': 0,
  'lastcheckok': 1,
  'lastchecktime': '2020-02-03 19:44:37',
  'lastcheckoktime': '2020-02-03 19:44:37',
  'lastlocalchecktime': '2020-02-03 09:23:37',
  'clicktimestamp': '2020-02-04 00:16:54',
  'clickcount': 2880,
  'clicktrend': 40}]  
```
## Help

```python
In [1]: from pyradios import RadioBrowser

In [2]: help(RadioBrowser)
```


## Development Setup

```
$ git clone https://github.com/andreztz/pyradios.git
$ cd pyradios
$ virtualenv venv
$ source venv/bin/activate
$ pip install -e .[dev]
```

## Run Tests

```
$ pytest
```

## Release History

    - Work in progress

## Meta

Andre P. Santos – [@ztzandre](https://twitter.com/ztzandre) – andreztz@gmail.com

Distributed under the MIT LICENSE. See `LICENSE` for more information.

[https://github.com/andreztz](https://github.com/andreztz/)

## Contributing

1. Fork it (<https://github.com/andreztz/pyradios/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/andreztz/pyradios",
    "name": "pyradios",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "pyradios wrapper radios api",
    "author": "Andr\u00e9 P. Santos",
    "author_email": "andreztz@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e3/24/350a91a39880748864bd8b883cd3fb22b9f298ea89de014c58d610d13006/pyradios-2.1.0.tar.gz",
    "platform": null,
    "description": "# Pyradios\n\n![Upload Python Package](https://github.com/andreztz/pyradios/workflows/Upload%20Python%20Package/badge.svg)\n![Python package](https://github.com/andreztz/pyradios/workflows/Python%20package/badge.svg)\n\n> Python client for the [Radio Browser API](https://api.radio-browser.info)\n\n\n## Installation\n\n```sh\n pip install pyradios\n```\n\n## Examples\n\n```sh\nIn [1]: from pyradios import RadioBrowser\n\nIn [2]: rb = RadioBrowser()\n\nIn [3]: rb.search(name=\"BBC Radio 1\", name_exact=True)\nOut[3]:\n[{'changeuuid': '4f7e4097-4354-11e8-b74d-52543be04c81',\n  'stationuuid': '96062a7b-0601-11e8-ae97-52543be04c81',\n  'name': 'BBC Radio 1',\n  'url': 'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p',\n  'url_resolved': 'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p',\n  'homepage': 'http://www.bbc.co.uk/radio1/',\n  'favicon': 'https://cdn-radiotime-logos.tunein.com/s24939q.png',\n  'tags': 'bbc,indie,entertainment,music,rock,pop',\n  'country': 'United Kingdom',\n  'countrycode': 'GB',\n  'state': '',\n  'language': 'english',\n  'votes': 5018,\n  'lastchangetime': '2020-01-19 13:17:11',\n  'codec': 'MP3',\n  'bitrate': 128,\n  'hls': 0,\n  'lastcheckok': 1,\n  'lastchecktime': '2020-02-03 19:44:37',\n  'lastcheckoktime': '2020-02-03 19:44:37',\n  'lastlocalchecktime': '2020-02-03 09:23:37',\n  'clicktimestamp': '2020-02-04 00:16:54',\n  'clickcount': 2880,\n  'clicktrend': 40}]  \n```\n## Help\n\n```python\nIn [1]: from pyradios import RadioBrowser\n\nIn [2]: help(RadioBrowser)\n```\n\n\n## Development Setup\n\n```\n$ git clone https://github.com/andreztz/pyradios.git\n$ cd pyradios\n$ virtualenv venv\n$ source venv/bin/activate\n$ pip install -e .[dev]\n```\n\n## Run Tests\n\n```\n$ pytest\n```\n\n## Release History\n\n    - Work in progress\n\n## Meta\n\nAndre P. Santos \u2013 [@ztzandre](https://twitter.com/ztzandre) \u2013 andreztz@gmail.com\n\nDistributed under the MIT LICENSE. See `LICENSE` for more information.\n\n[https://github.com/andreztz](https://github.com/andreztz/)\n\n## Contributing\n\n1. Fork it (<https://github.com/andreztz/pyradios/fork>)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python client for the Radio Browser API",
    "version": "2.1.0",
    "project_urls": {
        "Homepage": "https://github.com/andreztz/pyradios",
        "Source": "https://github.com/andreztz/pyradios/",
        "Upstream": "https://api.radio-browser.info/"
    },
    "split_keywords": [
        "pyradios",
        "wrapper",
        "radios",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c701b71fb0f12ad7609a857a2dd3e8e6bff700656d2f58297034df42adec34e2",
                "md5": "4961c6b4a89450b13b605f0d3d28cda1",
                "sha256": "6dbea430c0dc41cf13306baeb763cbaada153c40bdbd6c4907210330e8575ebf"
            },
            "downloads": -1,
            "filename": "pyradios-2.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4961c6b4a89450b13b605f0d3d28cda1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 9538,
            "upload_time": "2023-12-13T10:54:32",
            "upload_time_iso_8601": "2023-12-13T10:54:32.071042Z",
            "url": "https://files.pythonhosted.org/packages/c7/01/b71fb0f12ad7609a857a2dd3e8e6bff700656d2f58297034df42adec34e2/pyradios-2.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e324350a91a39880748864bd8b883cd3fb22b9f298ea89de014c58d610d13006",
                "md5": "3641bcb0021ef04ae0571fdf6b5f1ceb",
                "sha256": "5d3a70f1b805668df93c99e0afda30794e9f637280a6126cac48642b35872c80"
            },
            "downloads": -1,
            "filename": "pyradios-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3641bcb0021ef04ae0571fdf6b5f1ceb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 13794,
            "upload_time": "2023-12-13T10:54:33",
            "upload_time_iso_8601": "2023-12-13T10:54:33.135616Z",
            "url": "https://files.pythonhosted.org/packages/e3/24/350a91a39880748864bd8b883cd3fb22b9f298ea89de014c58d610d13006/pyradios-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-13 10:54:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "andreztz",
    "github_project": "pyradios",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pyradios"
}
        
Elapsed time: 0.16826s