ilyalatt / Discogs.ApiClient

Discogs Api Client
MIT License
0 stars 0 forks source link

Discogs.ApiClient

NuGet version

Quick start

Create a client:

var credentials = DiscogsApiClientCredentials.FromToken("<TOKEN>");
var environment = DiscogsApiClientEnvironment.CreateDefault(credentials);
var client = DiscogsApiClient.Create(environment);

Use it:

var db = client.Database;
var searchResults = await db.Search("Bang Bang");
var releases = searchResults.Releases;
var artists = searchResults.Artists;

For complete example check out Playground.