<?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>RAAK &#124; Digital &#38; Social Media Agency London &#187; Uncategorized</title>
	<atom:link href="http://wewillraakyou.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://wewillraakyou.com</link>
	<description>Putting you in touch with your crowds</description>
	<lastBuildDate>Tue, 22 May 2012 20:01:46 +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>RAAK.it API documentation</title>
		<link>http://wewillraakyou.com/2010/10/raak-it-api-documentation/</link>
		<comments>http://wewillraakyou.com/2010/10/raak-it-api-documentation/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 10:39:43 +0000</pubDate>
		<dc:creator>Adriaan Pelzer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[raak]]></category>
		<category><![CDATA[raakit]]></category>
		<category><![CDATA[url shortener]]></category>

		<guid isPermaLink="false">http://www.wewillraakyou.com/?p=2747</guid>
		<description><![CDATA[<p><a href="http://www.wewillraakyou.com/wp-content/uploads/2010/10/raakitapi.jpg"><img src="http://www.wewillraakyou.com/wp-content/uploads/2010/10/raakitapi.jpg" alt="RAAK.it API documentation" title="RAAK.it API documentation" width="360" height="232" class="alignnone size-full wp-image-2777" /></a></p>
<p>Here are the calls in the <a href="http://raak.it">raak.it</a> URL shortener API:</p>
<p>The API is a RESTful API, ie each call is implemented as a URI.<br />
All calls return JSON strings as output.</p>
<h2 class="subTitle">register.php</h2>
<p><code>http://raak.it/register.php?url=<em>your url</em></code></p>
<p><em>your url</em>: The URL &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wewillraakyou.com/wp-content/uploads/2010/10/raakitapi.jpg"><img src="http://www.wewillraakyou.com/wp-content/uploads/2010/10/raakitapi.jpg" alt="RAAK.it API documentation" title="RAAK.it API documentation" width="360" height="232" class="alignnone size-full wp-image-2777" /></a></p>
<p>Here are the calls in the <a href="http://raak.it">raak.it</a> URL shortener API:</p>
<p>The API is a RESTful API, ie each call is implemented as a URI.<br />
All calls return JSON strings as output.</p>
<h2 class="subTitle">register.php</h2>
<p><code>http://raak.it/register.php?url=<em>your url</em></code></p>
<p><em>your url</em>: The URL you want to shorten.</p>
<p><em>output</em>:</p>
<ul>
<li><code>code</code>: 0 on success, a negative value on error, translating to:
<ul>
<li><code>-1</code>: No URL was entered</li>
<li><code>-2</code>: URL could not be resolved</li>
<li><code>-3</code>: URL returned an error</li>
<li><code>-4</code>: Cannot connect to the database</li>
<li><code>-5</code>: Cannot select the database</li>
<li><code>-6</code>: Cannot query the database</li>
<li><code>-7</code>: URL was stored before, but it can not be fetched</li>
<li><code>-8</code>: URL was not stored before, and it can not be entered into the database</li>
<li><code>-9</code>: URL&#8217;s page title could not be updated</li>
</ul>
</li>
<li><code>result</code>: only on success, the short URL that will redirect to the given URL</li>
<li><code>error</code>: only on error, a message describing the error</li>
<li><code>http_code</code>: only on error code -2, the HTTP code returned</li>
<li><code>mysql_error</code>: only on error codes -4 to -9, a message describing the database error</li>
</ul>
<h2 class="subTitle">retrieve.php</h2>
<p><code>http://raak.it/retrieve.php?shorturl=<em>short url</em></code></p>
<p><em>short url</em>: The short URL whose long URL you want to retrieve.</p>
<p><em>output</em>:</p>
<ul>
<li><code>code</code>: 0 on success, a negative value on error, translating to:
<ul>
<li><code>-1</code>: No short URL was entered</li>
<li><code>-4</code>: Cannot connect to the database</li>
<li><code>-5</code>: Cannot select the database</li>
<li><code>-6</code>: Cannot query the database</li>
<li><code>-8</code>: Cannot update this retrieval stat (still returns URL)</li>
<li><code>-9</code>: URL can not be found</li>
</ul>
</li>
<li><code>result</code>: only on success, or error code -8, the long URL that will be redirected to by the given short URL</li>
<li><code>error</code>: only on error, a message describing the error</li>
<li><code>mysql_error</code>: only on error codes -4 to -8, a message describing the database error</li>
</ul>
<h2 class="subTitle">stats.php</h2>
<p><code>http://raak.it/stats.php?[url=<em>long url</em>][shorturl=<em>short url</em></code>]</p>
<p><em>long url (optional)</em>: The long URL whose stats you want to retrieve.<br />
<em>short url (optional)</em>: The short URL whose stats you want to retrieve.<br />
<em>default (no args)</em>: Basic stats (no ip addresses) for all URLs.</p>
<p><em>output</em>:</p>
<ul>
<li><code>code</code>: 0 on success, a negative value on error, translating to:
<ul>
<li><code>-1</code>: No short URL was entered</li>
<li><code>-4</code>: Cannot connect to the database</li>
<li><code>-5</code>: Cannot select the database</li>
<li><code>-6</code>: Cannot query the database</li>
<li><code>-9</code>: URL can not be found</li>
</ul>
</li>
<li><code>urls</code>: a list of URL stats
<ul>
<li><code><em>url hash</em></code>: The hash part of the short url, acts as a key
<ul>
<li><code>url</code>: The long URL</li>
<li><code>title</code>: The page title of the URL</li>
<li><code>count</code>: The amount of hits on the URL</li>
<li><code>ips</code>: (only when shorturl or url have been provided) A list of IP address that visited this URL
<li>
            </ul>
</li>
</ul>
</li>
<li><code>error</code>: only on error, a message describing the error</li>
<li><code>mysql_error</code>: only on error codes -4 to -8, a message describing the database error</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wewillraakyou.com/2010/10/raak-it-api-documentation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: basic
Object Caching 318/343 objects using disk: basic

Served from: wewillraakyou.com @ 2012-05-23 18:40:54 -->
