Skip to content

Discogs API implementation for Windows 8.1 and Windows Phone 8.1

Notifications You must be signed in to change notification settings

milesdream/DiscogsRT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscogsRT

Description

DiscogsRT is a Windows 8.1 and Windows Phone 8.1 library for talking to Discogs. DiscogsRT is under heavy development and by no means stable. Disclaimer

DiscogsRT is a hobby project that I do because I love developing. I do however have a life and family. Therefore I can't give any guarantees about deadlines, crashes or any other problems. Features

  • Rate limited to 1 request per second
  • Authentication flow
  • Get identity and profile
  • Get wantlist
  • Get collection
  • Get release
  • Get master release
  • Get master release versions
  • Get artist
  • Get label
  • Get label releases
  • Search

Problems, questions and suggestions

If you have problems, questions or suggestions you can post them in the issues of this repository. NuGet

You can add DiscogsRT to you project using the following command in the package manager console: Install-Package BeeWee.DiscogsRT, or go to NuGet.org. Dependencies

DiscogsRT uses Rester and Json.NET. Usage

//create a DiscogsRT client
var client = new Client(useragent, consumerkey, consumersecret);
//oauth flow
var requestToken = await client.GetOAuthRequestAsync();
//go to requestToken.Uri, login on Discogs and acquire the pin
var accessToken = await GetOAuthAccesAsync(requestToken.Key, requestToken.Secret, Pin);
//you can use this accessToken to perform requests that need authentication
var identity = await client.GetIdentityAsync(accessToken.Key, accessToken.Secret);
//basic release lookup
var release = await client.GetReleaseAsync("2817604");
//paged search
var query = new SearchQuery();
query.Query = "Lovage";
query.Type = SearchItemType.Release;
var searchResults = await client.Search(accessToken.Key, accessToken.Secret, query);

About

Discogs API implementation for Windows 8.1 and Windows Phone 8.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%