<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All Things IT Blog &#187; Discogs API</title>
	<atom:link href="http://www.enusbaum.com/blog/category/discogs-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.enusbaum.com/blog</link>
	<description>My little nerded out corner of the Internets!</description>
	<lastBuildDate>Tue, 18 Oct 2011 20:22:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Discogs.com API Assembly for .NET Applications v1.0 Build 2876</title>
		<link>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2876/</link>
		<comments>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2876/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 06:02:09 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[C# Programming]]></category>
		<category><![CDATA[Discogs API]]></category>
		<category><![CDATA[General Software]]></category>

		<guid isPermaLink="false">http://www.enusbaum.com/blog/2007/11/16/discogscom-api-assembly-for-net-applications-v10-build-2876/</guid>
		<description><![CDATA[Hello Everyone! I&#8217;m very pleased to bring you the latest build of the Discogs.com API Assembly This version bring more error handling reguarding the Cover Art routines as well as the ability to now specify your own Discogs.com API key This is not a REQUIRED field, and if you do not specify an API Key [...]]]></description>
			<content:encoded><![CDATA[<p>Hello Everyone!</p>
<p>I&#8217;m very pleased to bring you the latest build of the Discogs.com API Assembly <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This version bring more error handling reguarding the Cover Art routines as well as the ability to now specify your own Discogs.com API key <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This is not a REQUIRED field, and if you do not specify an API Key value it will default to the API key I&#8217;ve already registered for the Assembly. I figured this would be the easiest way for people to use it.</p>
<p>Some have expressed their concern on the daily usage limits that are imposed. To clarify these limits, as stated on the API information page, the daily limits are 5,000 requests per day, PER IP. This means each person using the API Key can use it up to 5,000 times per day. So no worries on gobbling up all available tries! <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you still want to register for your own API Key, you can do so <a href="http://www.discogs.com/users/api_key" title="Discogs.com -- Register for an API Key" target="_blank">here</a>!</p>
<p>So, to recap the changes in this version:</p>
<ul>
<li>Better Error Handling in <strong>GetCoverArt()</strong> method
<ul>
<li>Will return a blank 1&#215;1 Bitmap if an Exception is thrown.</li>
</ul>
</li>
<li>Better Error Handling in <strong>SaveCoverArt()</strong> method
<ul>
<li>Will return FALSE if an Exception is thrown while trying to save the file</li>
</ul>
</li>
<li>Able to now specify your own API Key (<strong>API_KEY</strong>). If you do not specify one, it will use a default API Key (which works just fine!)</li>
</ul>
<p>Cheers!</p>
<p><strong>Discogs.com API Assembly for .NET Applications v1.0 Build 2876</strong> &#8211; <a href="http://www.enusbaum.com/Discogs/DiscogsAPI_10b2876.zip" title="Download Discogs.com API Assembly for .NET Applications!" target="_blank">Download</a> (9k)</p>
<div class="su-linkbox" id="post-63-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2876/&quot;&gt;Discogs.com API Assembly for .NET Applications v1.0 Build 2876&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2876/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Discogs.com API Assembly for .NET Applications v1.0 Build 2871</title>
		<link>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2871/</link>
		<comments>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2871/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 01:20:48 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[C# Programming]]></category>
		<category><![CDATA[Discogs API]]></category>
		<category><![CDATA[General Programming]]></category>
		<category><![CDATA[General Software]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C# Assembly]]></category>
		<category><![CDATA[C# Example]]></category>
		<category><![CDATA[Cover Art]]></category>
		<category><![CDATA[Discogs]]></category>
		<category><![CDATA[Discogs.com]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.enusbaum.com/blog/2007/11/12/discogscom-api-assembly-for-net-applications-v10-build-2871/</guid>
		<description><![CDATA[Greetings Everyone! I&#8217;ve been working on the Discogs.com API Assembly for .NET Applications now for a couple days and have been able to make some progress. It&#8217;s now a bit more stable as well a a tiny bit easier to use. I took some time and added a DEBUG class. This class allows you to [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings Everyone!</p>
<p>I&#8217;ve been working on the Discogs.com API Assembly for  .NET Applications now for a couple days and have been able to make some progress. It&#8217;s now a bit more stable as well a a tiny bit easier to use.</p>
<p>I took some time and added a DEBUG class. This class allows you to find out what&#8217;s happening within the Discogs.com Assembly if you start to have issues! <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This new class has two properties:</p>
<ul>
<li><strong>Verbose (bool)</strong> &#8211; If set to TRUE, Verbose logging will be enabled allowing you to get more precise detail on what is going on within the Assembly. Otherwise, only exceptions will be logged.</li>
<li><strong>Log (string)</strong> &#8211; This is a string containing the current debug log.</li>
</ul>
<p>Also, it has one Method:</p>
<ul>
<li><strong>LogEvent (string sEvent)</strong> &#8211; Logs the value passed in to the debug log. This way you can use the same debug log from your own applications <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Should help make things a little easier.</li>
</ul>
<p>New in this version as well is better error handling in the event of 404&#8242;s or an Artist/Release isn&#8217;t found. Before if you requested something that didn&#8217;t exist, the Assembly kinda crapped out while trying to deserialize the (non-existent) XML <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This has all been fixed.</p>
<p>I&#8217;m also including a small example program (with source code) on how to use the Discogs.com API Assembly. I&#8217;ve coded the example in C#, so sorry to all those VB.NET developers out there! <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If one of you guys would like to translate it to VB.NET, I&#8217;d be more than happy to post it here as well.</p>
<p>If you do not already have Microsoft Visual Studio installed, no worries! Microsoft provides a free version for C# development called Visual C# Express and you can get it <a href="http://msdn2.microsoft.com/en-us/express/aa700756.aspx" title="Download Microsoft Visual C# Express" target="_blank">here</a> over at Microsoft.com. <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You will need to update the Reference to the Discogs.com API Assembly. It currently points to where I had it setup on my local machine. <img src='http://www.enusbaum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Any and all feedback is appreciated!</p>
<p>Cheers!</p>
<p><strong>Discogs.com API Assembly for .NET Applications v1.0 Build 2871</strong> &#8211; <a href="http://www.enusbaum.com/Discogs/DiscogsAPI_10b2871.zip" title="Download Discogs.com API Assembly for .NET Applications!" target="_blank">Download</a> (9k)</p>
<p><strong>Discogs.com API Assembly Example Application (with Source)</strong> &#8211; <a href="http://www.enusbaum.com/Discogs/DiscogsAPI_Example.zip" title="Download Discogs.com API Assembly Example Application" target="_blank">Download</a> (10k)</p>
<div class="su-linkbox" id="post-62-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2871/&quot;&gt;Discogs.com API Assembly for .NET Applications v1.0 Build 2871&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2871/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Discogs.com API Assembly for .NET Applications v1.0 Build 2867</title>
		<link>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2867/</link>
		<comments>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2867/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 05:06:31 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[C# Programming]]></category>
		<category><![CDATA[Discogs API]]></category>
		<category><![CDATA[General Programming]]></category>

		<guid isPermaLink="false">http://www.enusbaum.com/blog/2007/11/07/discogscom-api-assembly-for-net-applications-v10-build-2867/</guid>
		<description><![CDATA[Hey Everyone! I&#8217;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 &#8211; SearchRelease(string sRelease) Get Artist Information &#8211; SearchArtist(string sArtistName) Get Label Information &#8211; SearchLabel(string sLabel) General Search &#8211; Search(string sSearchTerm) [...]]]></description>
			<content:encoded><![CDATA[<p>Hey Everyone!</p>
<p>I&#8217;ve been putting some time into my <a target="_blank" title="Link -- Discogs.com" href="http://www.discogs.com/">Discogs</a> <a target="_blank" title="Link -- Discogs.com API" href="http://www.discogs.com/help/api">API</a> Assembly hoping to implement all the functions supported by the API. This build should give access to all available API functions:</p>
<ul>
<li>Get Release Information &#8211; <strong>SearchRelease(<a target="_blank" title="Microsoft.com - string (C# Reference)" href="http://msdn2.microsoft.com/en-us/library/362314fe(VS.80).aspx">string</a> sRelease)</strong></li>
<li>Get Artist Information &#8211; <strong>SearchArtist(<a target="_blank" title="Microsoft.com - string (C# Reference)" href="http://msdn2.microsoft.com/en-us/library/362314fe(VS.80).aspx">string</a> sArtistName)</strong></li>
<li>Get Label Information &#8211; <strong>SearchLabel(<a target="_blank" title="Microsoft.com - string (C# Reference)" href="http://msdn2.microsoft.com/en-us/library/362314fe(VS.80).aspx">string</a> sLabel)</strong></li>
<li>General Search &#8211; <strong>Search(<a target="_blank" title="Microsoft.com - string (C# Reference)" href="http://msdn2.microsoft.com/en-us/library/362314fe(VS.80).aspx">string</a> sSearchTerm)</strong></li>
</ul>
<p>I&#8217;ve changed the method signatures for the Cover Art downloading routines. I&#8217;ve now split this into two new methods:</p>
<ul>
<li><strong>GetCoverArt</strong> &#8211; This method returns the cover art image that&#8217;s downloaded from Discogs.com as a <a target="_blank" title="Microsoft.com - Bitmap Class" href="http://msdn2.microsoft.com/en-us/library/system.drawing.bitmap.aspx">bitmap</a></li>
<li><strong>SaveCoverArt</strong> &#8211; This method will save the cover art image that&#8217;s downloaded from Discogocs.com to the specified file and folder</li>
</ul>
<p>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.</p>
<p>I don&#8217;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.</p>
<p>I&#8217;m still working on my Simple MP3 Renaming application written in C# using this Assembly. It&#8217;s hard to spit my time between the two, but it&#8217;s been my test harness for this. I&#8217;m going to be releasing the source code under the GPL v2 license.</p>
<p>Cheers!</p>
<p><strong>Discogs.com API Assembly for .NET Applications v1.0 Build 2867</strong> &#8211; <a target="_blank" title="Download Discogs.com API Assembly for .NET Applications!" href="http://www.enusbaum.com/Discogs/DiscogsAPI_10b2867.zip">Download</a> (8.9k)</p>
<div class="su-linkbox" id="post-51-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2867/&quot;&gt;Discogs.com API Assembly for .NET Applications v1.0 Build 2867&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2867/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discogs.com API Assembly for .NET Applications v1.0 Build 2863</title>
		<link>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2863/</link>
		<comments>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2863/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 23:43:28 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[C# Programming]]></category>
		<category><![CDATA[Discogs API]]></category>
		<category><![CDATA[General Programming]]></category>

		<guid isPermaLink="false">http://www.enusbaum.com/blog/2007/11/03/discogscom-api-assembly-for-net-applications-v10-build-2863/</guid>
		<description><![CDATA[Well, here it is! The Discogs.com API Interface Assembly for .NET Applications. After fiddling around with the Discogs.com website I decided to take a look at their developers API. It was actually pretty slick, as it lets you look up an Artist and retrieve all of their information including album information on every album they&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Well, here it is! The <a title="Link -- Discogs.com" target="_blank" href="http://www.discogs.com/">Discogs.com</a> <a title="Link -- Discogs.com API" target="_blank" href="http://www.discogs.com/help/api">API Interface</a> Assembly for .NET Applications.</p>
<p>After fiddling around with the Discogs.com website I decided to take a look at their developers API. It was actually pretty slick, as it lets you look up an Artist and retrieve all of their information including album information on every album they&#8217;ve been associated with (including soundtracks). I thought this information might be handy for other people so I wrote a quick Assembly in C# that lets people run queries against the Discogs API easily!</p>
<p>This Assembly provides only three methods currently:</p>
<ul>
<li><strong>SearchArtist (string  sArtistName)</strong></li>
<ul>
<li>This method will search the Discogs Library based on the Artist Name specified and return a complex type containing the API response.</li>
</ul>
<li><strong>SearchRelease (string sReleaseName)</strong></li>
<ul>
<li>This method will search the Discogs Library based on the Release Name specified and return a complex type containing the API response.</li>
</ul>
<li><strong>DownloadCoverArt(string sFileName, string sURL)</strong></li>
<ul>
<li>This method allows you to download the cover art from the Discogs Library using the Cover Art URL contained in the Release API response.</li>
</ul>
</ul>
<p>I&#8217;ve also included a Version property so you can bind your own application to a specific version of the Assembly, in case there&#8217;s any version incompatibility moving forward.</p>
<p>The assembly currently already has a Discogs.com API key hard coded in. So no need to sign up for your own API key.</p>
<p>Also, it seems that the API is constantly changing so if for whatever reason one day you stop receiving information from the API, please let me know. Any changes to their XML response might cause the assembly stop responding with information.</p>
<p>My hopes is that people will put this Assembly to good use in their own Media applications. My plan is to release an Open Source MP3 renaming application written in C#. Keep your eyes peeled for that in the coming weeks.</p>
<p>Share and enjoy!</p>
<p><strong>Discogs.com API Assembly for .NET Applications v1.0 Build 2863</strong> &#8211; <a target="_blank" title="Download Discogs.com API Assembly for .NET Applications!" href="http://www.enusbaum.com/Discogs/DiscogsAPI_10b2863.zip">Download</a> (6.8k)</p>
<div class="su-linkbox" id="post-50-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2863/&quot;&gt;Discogs.com API Assembly for .NET Applications v1.0 Build 2863&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.enusbaum.com/blog/2007/11/discogscom-api-assembly-for-net-applications-v10-build-2863/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

