David-Desmaisons / DiscogsClient

Discogs API C# Client
MIT License
42 stars 16 forks source link

How to get artist master id using this API? #7

Closed EfthimisV closed 6 years ago

EfthimisV commented 6 years ago

Is it possible to get a master id of an album using this API; I would like to know because I'd like to search the cover art according to an artist the user enters and I couldn't find a documentation or something to solve my issue.

David-Desmaisons commented 6 years ago

GetMasterAsync should return want you want.

EfthimisV commented 6 years ago

Indeed it works but I'd like to search an album's covert art first and then give it's master id as an argument to the GetMasterAsync function, is this possible?

David-Desmaisons commented 6 years ago

I am not sure to follow you. I am sure what discogs API you are refering to when you say "search an album's covert art". If the discogs rest API provides the information you need, then DiscogsClient should provide the corresponding API, so that you can use it. If it is an discogs rest API that is not mapped by this library let me know I will work on it.

EfthimisV commented 6 years ago

I solved my problem using another method but anyway, thanks for your help.