{"repo":"ivandotv/radio-browser-api","free":true,"listed":false,"github":"https://github.com/ivandotv/radio-browser-api","clone":"git clone https://github.com/ivandotv/radio-browser-api.git","description":"Wrapper around free and open-source radio browser API. It simplifies the task of querying the API","language":"TypeScript","stars":107,"topics":["radiobrowser-api","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Radio Browser API Install Table of Contents - What is it - Usage - Package level API Docs What is it This is a wrapper around free and open-source radio browser api. It simplifies the task of querying the API by creating methods for each API route and normalizing the responses and errors. It can be used both in the browser and in Node.js . I suggest you familiarize yourself with the original API docs before using this library. Also note that this library modifies the results from the API, because the API is brittle, in a way that returns duplicate stations, duplicated tags, or tags that are not tags but rather, complete sentences. The library will clean this up for you. API by default, returns broken stations (stations that are in the system but don't have their streams up and running) library by default hides those stations ( this can be changed when creating the library instance, or per API call) For an example of usage of this library check live radio repository Usage If using in node.js environment, make sure you have a fetch implementation (e.g node-fetch) available. You should also have an application name that is going to be passed as user agent string when talking to the API. You can use whatever you like but be consistent, the author of the API uses it to track usage statistics. Querying the API There are a lot of methods you can use to query the API. The response that you get from searching the stations is an array of station objects. The structure of the station ob","default_branch":null,"files":null,"tree":[],"storefront":"/r/ivandotv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ivandotv/radio-browser-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}