A spotify-url-info parser without any api key!
Getting dominant color of track
using System;
using SpotifyUrl;
namespace Test {
public class Program {
public static void Main(string[] args){
var spotify = new UrlInfo();
var data = await spotify.getData("https://open.spotify.com/embed/track/44I5NYJ7CGEcaLOuG2zJsU");
Console.Write(data.dominantColor); // outputs #786B8E
}
}
}
Our stable builds available from NuGet through the SpotifyUrl metapackage:
In order to compile SpotifyUrl, you require the following:
The .NET Core workload must be selected during Visual Studio installation.