https://github.com/polakosz/weareone.scraper
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.
https://github.com/polakosz/weareone.scraper
api clubtime coretime fm hardbase housetime netstandard scraper teatime technobase tracklist trancabase weareone wrapper
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/polakosz/weareone.scraper
- Owner: PoLaKoSz
- License: mit
- Created: 2018-12-24T11:17:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:01:42.000Z (over 2 years ago)
- Last Synced: 2025-01-16T16:24:10.791Z (3 months ago)
- Topics: api, clubtime, coretime, fm, hardbase, housetime, netstandard, scraper, teatime, technobase, tracklist, trancabase, weareone, wrapper
- Language: C#
- Homepage: https://weareone.fm
- Size: 79.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WeAreOne.Scraper
[](https://www.codacy.com/app/PoLaKoSz/WeAreOne.Scraper?utm_source=github.com&utm_medium=referral&utm_content=PoLaKoSz/WeAreOne.Scraper&utm_campaign=Badge_Grade)
[](https://travis-ci.com/PoLaKoSz/WeAreOne.Scraper.svg?branch=master)
[](../../releases)
[](https://www.nuget.org/packages/PoLaKoSz.WeAreOne.Scraper)
[](LICENSE)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.## Install
via [NuGet](https://www.nuget.org/packages/PoLaKoSz.WeAreOne.Scraper/)
```` shell
PM > Install-Package PoLaKoSz.WeAreOne.Scraper
````## Quick start
That's all You need and can use with this library. Copied from the sample project:
```` c#
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 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");
}
}
}
````