<?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>Alex James Brown &#187; API</title>
	<atom:link href="http://www.alexjamesbrown.com/tags/api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alexjamesbrown.com</link>
	<description>My Words. By Me.</description>
	<lastBuildDate>Wed, 04 Jan 2012 01:02:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Yahoo Term Extractor API Discontinued</title>
		<link>http://www.alexjamesbrown.com/uncategorized/yahoo-term-extractor-api-discontinued/</link>
		<comments>http://www.alexjamesbrown.com/uncategorized/yahoo-term-extractor-api-discontinued/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 09:41:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[windows live writer]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.alexjamesbrown.com/geek/apis/yahoo-term-extractor-api-discontinued/</guid>
		<description><![CDATA[A couple of days ago Yahoo announced two of its search services will be discontinued on August 31st 2009. Annoyingly, one of those is the Term Extraction API Which means ...]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago Yahoo announced two of its search services will be discontinued on August 31st 2009.</p>
<p>Annoyingly, one of those is the <a href="http://developer.yahoo.com/search/content/V2/termExtraction.html" target="_blank">Term Extraction API</a>    <br />Which means my <a href="http://www.alexjamesbrown.com/projects/windows-live-writer-auto-tag-plug-in/" target="_blank">Windows Live Writer Auto Tag Generator plug-in</a> will simply cease to work.</p>
<p><strong>Important Announcement:</strong> The Term Extraction Web Search service will be discontinued on August 31, 2</p>
<p>So, what can you do.</p>
<p>Well, according to a few posts on <a href="http://twitter.com/#search?q=Yahoo%20Term%20Extractor" target="_blank">twitter</a>, <a href="http://developer.zemanta.com/" target="_blank">Zemanta</a> seems like a suitable replacement.</p>
<p>I’ll check this out, and write up a post on it soon, in the mean time, there&#8217;s an introduction <a href="http://marshalsandler.com/2009/08/yahoo-term-extraction-replacement-api/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexjamesbrown.com/uncategorized/yahoo-term-extractor-api-discontinued/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reverse GeoCoding with Google API and C#</title>
		<link>http://www.alexjamesbrown.com/development/reverse-geocoding-with-google-api-and-c/</link>
		<comments>http://www.alexjamesbrown.com/development/reverse-geocoding-with-google-api-and-c/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 19:51:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.alexjamesbrown.com/geek/development/dotnet/reverse-geocoding-with-google-api-and-c/</guid>
		<description><![CDATA[I needed to write a function to get a set of co-ordinates from an address, supplied as a string. Using the Google API, I came up with this: First, I ...]]></description>
			<content:encoded><![CDATA[<p>I needed to write a function to get a set of co-ordinates from an address, supplied as a string.    <br />Using the <a href="http://code.google.com/apis/maps/documentation/services.html" target="_blank">Google API</a>, I came up with this:</p>
<p>First, I created a <a href="http://msdn.microsoft.com/en-us/library/ah19swz4%28VS.71%29.aspx" target="_blank">struct</a>, to represent the lat and lon co-ordinates:</p>
<pre class="brush: csharp; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;">public struct Coordinate
{
	private double _latitude;
	private double _longitude;

	public Coordinate(double latitude, double longitude)
	{
		_latitude = latitude;
		_longitude = longitude;
	}

	public double Latitude { get { return _latitude; } set { _latitude = value; } }
	public double Longitude { get { return _longitude; } set { _longitude = value; } }
}</pre>
<p>This is a simple representation of a set of latitude and longitude co-ordinates.</p>
<p>The main method, which returns the above Coordinate struct is:</p>
<pre class="brush: csharp; auto-links: true; collapse: false; first-line: 1; highlight: 5; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;">public static Coordinate GetCoordinates(string address)
{
	using (var client = new WebClient())
	{
		Uri uri = YOUR_URI_HERE;

		/* The first number is the status code,
		* the second is the accuracy,
		* the third is the latitude,
		* the fourth one is the longitude.
		*/
		string[] geocodeInfo = client.DownloadString(uri)		.Split(',');

		return new Coordinate(
			Convert.ToDouble(geocodeInfo[2]),
			Convert.ToDouble(geocodeInfo[3]));
	}
}</pre>
<p>On line 5, you need to specify your Google API URL, in the format of:</p>
<p><a href="http://maps.google.com/maps/geo?q=ADDRESS">http://maps.google.com/maps/geo?q=ADDRESS</a> GOES HERE&amp;output=csv&amp;key=YOUR KEY HERE</p>
<p>And that’s it!</p>
<p>Obviously, there are usage restrictions when using the Google API for this, as outlined on the documentation pages</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexjamesbrown.com/development/reverse-geocoding-with-google-api-and-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TinyURL API</title>
		<link>http://www.alexjamesbrown.com/uncategorized/tinyurl-api/</link>
		<comments>http://www.alexjamesbrown.com/uncategorized/tinyurl-api/#comments</comments>
		<pubDate>Thu, 14 May 2009 11:45:14 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[API]]></category>

		<guid isPermaLink="false">http://www.alexjamesbrown.com/geek/tinyurl-api/</guid>
		<description><![CDATA[The popular url shortening service, TinyUrl has an API. This is probably the most simple API I&#8217;ve come across: http://tinyurl.com/api-create.php?url=http://www.alexjamesbrown.com (obviously, you can replace http://www.alexjamesbrown.com with any URL)]]></description>
			<content:encoded><![CDATA[<p>The popular url shortening service, <a href="http://tinyurl.com/" target="_blank">TinyUrl</a> has an API.</p>
<p>This is probably the most simple API I&#8217;ve come across:</p>
<p><a href="http://tinyurl.com/api-create.php?url=http://www.alexjamesbrown.com">http://tinyurl.com/api-create.php?url=http://www.alexjamesbrown.com</a></p>
<p><em>(obviously, you can replace </em><a href="http://www.alexjamesbrown.com"><em>http://www.alexjamesbrown.com</em></a><em> with any URL)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexjamesbrown.com/uncategorized/tinyurl-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelancers.net RSS Feed</title>
		<link>http://www.alexjamesbrown.com/uncategorized/freelancersnet-rss-feed/</link>
		<comments>http://www.alexjamesbrown.com/uncategorized/freelancersnet-rss-feed/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 11:22:36 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[Dapper]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://www.alexjamesbrown.com/blog/?p=19</guid>
		<description><![CDATA[I use Freelancers.net to scout out potential freelance clients, however logging on to the site every couple of days is somewhat tedious. Much better would be to have an RSS ...]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> Normal   0               false   false   false      EN-GB   X-NONE   X-NONE                                                     MicrosoftInternetExplorer4 </xml><![endif]--><!--[if gte mso 9]><xml> </xml><![endif]--> <!--[if gte mso 10]></p>
<style>
&nbsp;/* Style Definitions */
&nbsp;table.MsoNormalTable
&nbsp;{mso-style-name:"Table Normal";
&nbsp;mso-tstyle-rowband-size:0;
&nbsp;mso-tstyle-colband-size:0;
&nbsp;mso-style-noshow:yes;
&nbsp;mso-style-priority:99;
&nbsp;mso-style-qformat:yes;
&nbsp;mso-style-parent:"";
&nbsp;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
&nbsp;mso-para-margin-top:0cm;
&nbsp;mso-para-margin-right:0cm;
&nbsp;mso-para-margin-bottom:10.0pt;
&nbsp;mso-para-margin-left:0cm;
&nbsp;line-height:115%;
&nbsp;mso-pagination:widow-orphan;
&nbsp;font-size:11.0pt;
&nbsp;font-family:"Calibri","sans-serif";
&nbsp;mso-ascii-font-family:Calibri;
&nbsp;mso-ascii-theme-font:minor-latin;
&nbsp;mso-fareast-font-family:"Times New Roman";
&nbsp;mso-fareast-theme-font:minor-fareast;
&nbsp;mso-hansi-font-family:Calibri;
&nbsp;mso-hansi-theme-font:minor-latin;}
</style>
<p><![endif]--></p>
<p>I use Freelancers.net to scout out potential freelance clients, however logging on to the site every couple of days is somewhat tedious. Much better would be to have an RSS feed to   subscribe to?</p>
<p>Unfortunately Freelancers.net doesn&#8217;t provide one!</p>
<p>Not to worry, using <a title="Dapper" href="http://www.dapper.net/" target="_blank">Dapper</a>, i have created one.<br />
The URL for the feed is below:</p>
<p><a title="http://www.dapper.net/services/freelancers" href="http://www.dapper.net/services/freelancers" target="_blank">http://www.dapper.net/services/freelancers</a></p>
<p>Happy freelancing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexjamesbrown.com/uncategorized/freelancersnet-rss-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

