WeAreOne is a radio station family hosted in Germany. Probably the most famous radio station is the TechnoBase.FM, but there are 6 more: ClubTime.FM, CoreTime.FM, HardBase.FM, HouseTime.FM, TeaTime.FM and TranceBase.FM. With this library You can access all 7 radio's tracklist.
via NuGet
PM > Install-Package PoLaKoSz.WeAreOne.Scraper
That's all You need and can use with this library. Copied from the sample project:
using PoLaKoSz.WeAreOne;
using PoLaKoSz.WeAreOne.Models;
using System;
using System.Collections.Generic;
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
var weAreOne = new WeAreOne();
var tracklist = weAreOne.TechoBase.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "TechoBase");
tracklist = weAreOne.HouseTime.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "HouseTime");
tracklist = weAreOne.HardBase.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "HardBase");
tracklist = weAreOne.TranceBase.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "TranceBase");
tracklist = weAreOne.CoreTime.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "CoreTime");
tracklist = weAreOne.ClubTime.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "ClubTime");
tracklist = weAreOne.TeaTime.Tracklist().GetAwaiter().GetResult();
DisplayTracklist(tracklist, "TeaTime");
Console.Read();
}
private static void DisplayTracklist(List<Music> tracklist, string name)
{
Console.WriteLine(name);
for (int i = 0; i < tracklist.Count; i++)
{
var track = tracklist[i];
Console.WriteLine($"\t#{i,3}\t{track.Name}");
}
Console.WriteLine("\n");
}
}
}