Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 980 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 980 Bytes

SpotifyUrl

A spotify-url-info parser without any api key!

Example

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
  }
 }
}

Installation

Stable (NuGet)

Our stable builds available from NuGet through the SpotifyUrl metapackage:

Compiling

In order to compile SpotifyUrl, you require the following:

Using Visual Studio

The .NET Core workload must be selected during Visual Studio installation.

Using Command Line