Skip to content

tof4/RadioBrowser

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

RadioBrowser

Radio API wrapper for radio-browser.info.

Compatible with .NET 5 and .NET Standard 2.1.

How to use

Samples

Simple search

var radioBrowser = new RadioBrowserClient();
var results = await radioBrowser.Search.ByNameAsync("station name");
Console.WriteLine(results.First().Name);

Advanced search

To use advanced search use AdvancedSearchOptions

var results = await radioBrowser.Search.AdvancedAsync(new AdvancedSearchOptions
    {
        Language = "english",
        TagList = "news"
    });

Lists

// Without limits
var results = await radioBrowser.Stations.GetByVotesAsync();
// With limit
var results = await radioBrowser.Stations.GetByVotesAsync(10);
// With filter
var results = await radioBrowser.Lists.GetTagsAsync("funk");