Discogs.com API Assembly for .NET Applications v1.0 Build 2867
7 November 2007Hey Everyone!
I’ve been putting some time into my Discogs API Assembly hoping to implement all the functions supported by the API. This build should give access to all available API functions:
- Get Release Information - SearchRelease(string sRelease)
- Get Artist Information - SearchArtist(string sArtistName)
- Get Label Information - SearchLabel(string sLabel)
- General Search - Search(string sSearchTerm)
I’ve changed the method signatures for the Cover Art downloading routines. I’ve now split this into two new methods:
- GetCoverArt - This method returns the cover art image that’s downloaded from Discogs.com as a bitmap
- SaveCoverArt - This method will save the cover art image that’s downloaded from Discogocs.com to the specified file and folder
This way it will be easier to anyone to display the cover art image easily within their application (perhaps a preview window?) without actually having to save anything to the disk.
I don’t suspect the method signatures will be changed much from this version, as these are the only functions provided in the API currently. I still need to work on the error handling within the Assembly itself, such as 404 error handling and also any errors in deserialization. I might make a toggle which will enable verbose debug output from the assembly to a file you specify. This would help developers work with me in fixing any issues that might come up, as well as helping them trouble shoot their own application.
I’m still working on my Simple MP3 Renaming application written in C# using this Assembly. It’s hard to spit my time between the two, but it’s been my test harness for this. I’m going to be releasing the source code under the GPL v2 license.
Cheers!
Discogs.com API Assembly for .NET Applications v1.0 Build 2867 - Download (8.9k)
No Responses to “Discogs.com API Assembly for .NET Applications v1.0 Build 2867”
November 11th, 2007 at 7:44 am
I’ve been looking for something like this since they announced the API as my attempts using it have been a little hit and miss.
Do you have any example code on how to use your assembly? As I’m a newbie with .net ?