<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>API Guides</title>
	
	<link>http://apiguides.com</link>
	<description>Your guide to top API's!</description>
	<lastBuildDate>Sun, 13 Nov 2011 23:19:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/apiguides" /><feedburner:info uri="apiguides" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>apiguides</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Experimenting with Pastebin.com’s API</title>
		<link>http://feedproxy.google.com/~r/apiguides/~3/ZiqIGo0fdi8/pastebin-com-api</link>
		<comments>http://apiguides.com/pastebin-com-api#comments</comments>
		<pubDate>Sun, 18 Jul 2010 09:52:01 +0000</pubDate>
		<dc:creator>abhishek</dc:creator>
				<category><![CDATA[pastebin]]></category>

		<guid isPermaLink="false">http://apiguides.com/?p=46</guid>
		<description><![CDATA[(Pastebin.com has recently updated it&#8217;s API. An application tutorial that communicates with Pastebin.com using the new API is being built &#38; will soon be posted on APIGuides. Stay tuned!) According to Wikipedia, a pastebin is a web application which allows &#8230; <a href="http://apiguides.com/pastebin-com-api">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong>(Pastebin.com has recently updated it&#8217;s API. An application tutorial that communicates with Pastebin.com using the new API is being built &amp; will soon be posted on APIGuides. Stay tuned!)</strong></p>
<p style="text-align: justify;">According to Wikipedia, a <em>pastebin</em> is a web application which allows its users/visitors to upload snippets of text, usually samples of source code, for public viewing. <em>Pastebin.com</em> is one of those earliest and the most used pastebin service available to users since 2002. <em>Pastebin.com</em> also boasts of a clean, sleek, attractive and a beautiful user-interface bundled up with various standalone desktop applications, browser plugins &amp; a &#8220;simple&#8221; API.</p>
<p style="text-align: justify;"><span id="more-46"></span></p>
<p style="text-align: justify;">Today, we&#8217;ll play with the API that <em>Pastebin.com</em> provides us with to make a simple yet powerful API which lets you post snippets of text or code to Pastebin&#8217;s website {database} and in return it gives us the URL of our snippet!</p>
<p style="text-align: justify;"><a href="http://tutorialswalk.info/demo/pastebin-api-php/" target="_blank"><img class="aligncenter size-full wp-image-63" title="demo" src="http://apiguides.com/wp-content/uploads/2010/07/demo.png" alt="" width="570" height="50" /></a></p>
<p style="text-align: justify;"><a href="http://tutorialswalk.info/demo/pastebin-api-php/pastebin-com-api.zip" target="_blank"><img class="aligncenter size-full wp-image-64" title="download" src="http://apiguides.com/wp-content/uploads/2010/07/download.png" alt="" width="570" height="50" /></a></p>
<p style="text-align: justify;">We&#8217;ll be using simple HTML &amp; simple Javascript + JQuery to build &amp; beautify our application so we will just have a small number of files.</p>
<h2>LAYING THE HTML FRAMEWORK</h2>
<pre class="brush: xml; title: ; notranslate">

PasteBin.com API | APIGuides | TutorialsWalk
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script&gt;&lt;/pre&gt;
&lt;h1&gt;Experimenting with PasteBin.com's API&lt;/h1&gt;
&lt;pre&gt;

&lt;!--End Form--&gt;
</pre>
<p>The above markup includes a CSS stylesheet and also the JQuery library on Google&#8217;s CDN in the head. Then we have an application heading being displayed on using the <em>h1</em> tag. We also have a <em>div</em> named <em>form</em> and almost all of our application&#8217;s ingredients will go into that <em>div</em>. </p>
<h2>ADDING OUR FORM</h2>
<p>Now add the following code to the <em><strong>form</strong> div</em>:</p>
<pre class="brush: xml; title: ; notranslate">&lt;/pre&gt;
&lt;div id=&quot;form&quot;&gt;&lt;!--Start Form--&gt;
&lt;form action=&quot;http://pastebin.com/api_public.php&quot; method=&quot;post&quot; name=&quot;paste_form&quot;&gt;Paste Text: &lt;em&gt;(REQUIRED!)&lt;/em&gt;
 &lt;textarea name=&quot;paste_code&quot; rows=&quot;5&quot; cols=&quot;50&quot;&gt;&lt;/textarea&gt;
 Syntax highlighting: &lt;em&gt;(optional)&lt;/em&gt;

&lt;select name=&quot;paste_format&quot;&gt; &lt;option value=&quot;bash&quot;&gt;Bash&lt;/option&gt; &lt;option value=&quot;c&quot;&gt;C&lt;/option&gt; &lt;option value=&quot;cpp&quot;&gt;C++&lt;/option&gt; &lt;option value=&quot;css&quot;&gt;CSS&lt;/option&gt; &lt;option value=&quot;html4strict&quot;&gt;HTML&lt;/option&gt; &lt;option value=&quot;java&quot;&gt;Java&lt;/option&gt; &lt;option value=&quot;javascript&quot;&gt;JavaScript&lt;/option&gt; &lt;option value=&quot;lua&quot;&gt;Lua&lt;/option&gt; &lt;option selected=&quot;selected&quot; value=&quot;text&quot;&gt;None&lt;/option&gt; &lt;option value=&quot;perl&quot;&gt;Perl&lt;/option&gt; &lt;option value=&quot;php&quot;&gt;PHP&lt;/option&gt; &lt;option value=&quot;python&quot;&gt;Python&lt;/option&gt; &lt;option value=&quot;rails&quot;&gt;Rails&lt;/option&gt; &lt;option value=&quot;0&quot;&gt;----------------------------&lt;/option&gt; &lt;option value=&quot;abap&quot;&gt;ABAP&lt;/option&gt; &lt;option value=&quot;actionscript&quot;&gt;ActionScript&lt;/option&gt; &lt;option value=&quot;ada&quot;&gt;Ada&lt;/option&gt; &lt;option value=&quot;apache&quot;&gt;Apache Log File&lt;/option&gt; &lt;option value=&quot;applescript&quot;&gt;AppleScript&lt;/option&gt; &lt;option value=&quot;asm&quot;&gt;ASM (NASM based)&lt;/option&gt; &lt;option value=&quot;asp&quot;&gt;ASP&lt;/option&gt; &lt;option value=&quot;autoit&quot;&gt;AutoIt&lt;/option&gt; &lt;option value=&quot;bash&quot;&gt;Bash&lt;/option&gt; &lt;option value=&quot;blitzbasic&quot;&gt;Blitz Basic&lt;/option&gt; &lt;option value=&quot;bnf&quot;&gt;BNF&lt;/option&gt; &lt;option value=&quot;c&quot;&gt;C&lt;/option&gt; &lt;option value=&quot;c_mac&quot;&gt;C for Macs&lt;/option&gt; &lt;option value=&quot;csharp&quot;&gt;C#&lt;/option&gt; &lt;option value=&quot;cpp&quot;&gt;C++&lt;/option&gt; &lt;option value=&quot;caddcl&quot;&gt;CAD DCL&lt;/option&gt; &lt;option value=&quot;cadlisp&quot;&gt;CAD Lisp&lt;/option&gt; &lt;option value=&quot;cfm&quot;&gt;ColdFusion&lt;/option&gt; &lt;option value=&quot;css&quot;&gt;CSS&lt;/option&gt; &lt;option value=&quot;d&quot;&gt;D&lt;/option&gt; &lt;option value=&quot;delphi&quot;&gt;Delphi&lt;/option&gt; &lt;option value=&quot;dff&quot;&gt;Diff&lt;/option&gt; &lt;option value=&quot;dos&quot;&gt;DOS&lt;/option&gt; &lt;option value=&quot;eiffel&quot;&gt;Eiffel&lt;/option&gt; &lt;option value=&quot;erlang&quot;&gt;Erlang&lt;/option&gt; &lt;option value=&quot;fortran&quot;&gt;Fortran&lt;/option&gt; &lt;option value=&quot;freebasic&quot;&gt;FreeBasic&lt;/option&gt; &lt;option value=&quot;gml&quot;&gt;Game Maker&lt;/option&gt; &lt;option value=&quot;genero&quot;&gt;Genero&lt;/option&gt; &lt;option value=&quot;groovy&quot;&gt;Groovy&lt;/option&gt; &lt;option value=&quot;haskell&quot;&gt;Haskell&lt;/option&gt; &lt;option value=&quot;html4strict&quot;&gt;HTML&lt;/option&gt; &lt;option value=&quot;ini&quot;&gt;INI file&lt;/option&gt; &lt;option value=&quot;inno&quot;&gt;Inno Script&lt;/option&gt; &lt;option value=&quot;java&quot;&gt;Java&lt;/option&gt; &lt;option value=&quot;javascript&quot;&gt;JavaScript&lt;/option&gt; &lt;option value=&quot;latex&quot;&gt;Latex&lt;/option&gt; &lt;option value=&quot;lsl2&quot;&gt;Linden Scripting Language&lt;/option&gt; &lt;option value=&quot;lisp&quot;&gt;Lisp&lt;/option&gt; &lt;option value=&quot;lua&quot;&gt;Lua&lt;/option&gt; &lt;option value=&quot;m68k&quot;&gt;M68000 Assembler&lt;/option&gt; &lt;option value=&quot;matlab&quot;&gt;MatLab&lt;/option&gt; &lt;option value=&quot;matlab&quot;&gt;MatLab&lt;/option&gt; &lt;option value=&quot;mirc&quot;&gt;mIRC&lt;/option&gt; &lt;option value=&quot;mpasm&quot;&gt;MPASM&lt;/option&gt; &lt;option value=&quot;mysql&quot;&gt;MySQL&lt;/option&gt; &lt;option value=&quot;text&quot;&gt;None&lt;/option&gt; &lt;option value=&quot;nsis&quot;&gt;NullSoft Installer&lt;/option&gt; &lt;option value=&quot;objc&quot;&gt;Objective C&lt;/option&gt; &lt;option value=&quot;ocaml&quot;&gt;OCaml&lt;/option&gt; &lt;option value=&quot;oobas&quot;&gt;Openoffice.org BASIC&lt;/option&gt; &lt;option value=&quot;oracle8&quot;&gt;Oracle 8&lt;/option&gt; &lt;option value=&quot;pascal&quot;&gt;Pascal&lt;/option&gt; &lt;option value=&quot;perl&quot;&gt;Perl&lt;/option&gt; &lt;option value=&quot;php&quot;&gt;PHP&lt;/option&gt; &lt;option value=&quot;plswl&quot;&gt;PL/SQL&lt;/option&gt; &lt;option value=&quot;python&quot;&gt;Python&lt;/option&gt; &lt;option value=&quot;qbasic&quot;&gt;QBasic/QuickBASIC&lt;/option&gt; &lt;option value=&quot;rails&quot;&gt;Rails&lt;/option&gt; &lt;option value=&quot;robots&quot;&gt;Robots&lt;/option&gt; &lt;option value=&quot;ruby&quot;&gt;Ruby&lt;/option&gt; &lt;option value=&quot;scheme&quot;&gt;Scheme&lt;/option&gt; &lt;option value=&quot;smalltalk&quot;&gt;Smalltalk&lt;/option&gt; &lt;option value=&quot;smarty&quot;&gt;Smarty&lt;/option&gt; &lt;option value=&quot;sql&quot;&gt;SQL&lt;/option&gt; &lt;option value=&quot;tcl&quot;&gt;TCL&lt;/option&gt; &lt;option value=&quot;tcl&quot;&gt;TCL&lt;/option&gt; &lt;option value=&quot;unreal&quot;&gt;unrealScript&lt;/option&gt; &lt;option value=&quot;vbnet&quot;&gt;VB.NET&lt;/option&gt; &lt;option value=&quot;vb&quot;&gt;VisualBasic&lt;/option&gt; &lt;option value=&quot;visualfoxpro&quot;&gt;VisualFoxPro&lt;/option&gt; &lt;option value=&quot;xml&quot;&gt;XML&lt;/option&gt; &lt;option value=&quot;z80&quot;&gt;Z80 Assembler&lt;/option&gt; &lt;/select&gt; 

Post expiration: &lt;em&gt;(optional)&lt;/em&gt;

&lt;select name=&quot;paste_expire_date&quot;&gt; &lt;option value=&quot;N&quot;&gt;Never&lt;/option&gt; &lt;option value=&quot;10M&quot;&gt;10 Minutes&lt;/option&gt; &lt;option value=&quot;1H&quot;&gt;1 Hour&lt;/option&gt; &lt;option value=&quot;1D&quot;&gt;1 Day&lt;/option&gt; &lt;option value=&quot;1M&quot;&gt;1 Month&lt;/option&gt; &lt;/select&gt; 

Post exposure: &lt;em&gt;(optional)&lt;/em&gt;

&lt;select name=&quot;paste_private&quot;&gt;&lt;option value=&quot;0&quot;&gt;Public&lt;/option&gt;&lt;option value=&quot;1&quot;&gt;Private&lt;/option&gt;&lt;/select&gt; 

Name / Title: &lt;em&gt;(optional)&lt;/em&gt;
 &lt;input type=&quot;text&quot; name=&quot;paste_name&quot; value=&quot;&quot; size=&quot;20&quot; /&gt;
Email: &lt;em&gt;(optional)&lt;/em&gt;
&lt;!--Email--&gt; &lt;input type=&quot;text&quot; name=&quot;paste_email&quot; value=&quot;&quot; size=&quot;20&quot; /&gt; 

 &lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;submit&quot; /&gt;&lt;/form&gt;&lt;/div&gt;
&lt;pre&gt;
&lt;!--End Form--&gt;
</pre>
<p>Here our <em>form action</em> is <em>http://pastebin.com/api_public.php</em> as this is the only way we connect to <em>Pastebin.com</em>&#8216;s API. All the details we fill in the form are sent to the <em>api_public.php</em> file on <em>Pastebin</em>&#8216;s server and after that we never return back to our native application as we&#8217;ll be provided with the our snippet URL on the API file itself, that&#8217;s why Pastebin.com&#8217;s API is so simple! Also we name our form as <em>paste_form</em> as we&#8217;ll be using that property for form validation! In the code snippet above, we are showing a textbox (which is required as it has our text/code snippet) named <em>paste_code</em>. Then for displaying the languages for syntax highlightion we are using a dropdown list named <em>paste_format</em>. After that we have options for Post Exposure (how much time the snippet should exist for), then personal information such as your name and email. I guess all that&#8217;s self-explanatory! <img src='http://apiguides.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  </p>
<h2>ADDING FORM VALIDATION USING JAVASCRIPT</h2>
<p><span style="color: #ff0000;">Remember that the only required thing in our form is the textbox as it includes the snippet. All other things such syntax highlightion, email, name, snippet age etc. just act as options add-ons.</span>We&#8217;ll use a simple Javascript Function to validate our form. To do so add the following code to your documents head:</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[
function validateForm(paste_form)
{

if(&quot;&quot;==document.forms.paste_form.paste_code.value)
{
alert(&quot;Come on!, Enter something in the codebox!!&quot;);
return false;
}
}
// ]]&gt;&lt;/script&gt;
</pre>
<p>We start of by naming our function as <em>validateForm</em> and also tell the application that the form we&#8217;ll validate is named <em>paste_form</em>. Then using the snippet below:</p>
<pre class="brush: jscript; title: ; notranslate">

if(&quot;&quot;==document.forms.paste_form.paste_code.value)
</pre>
<p>we check if something has been entered into the codebox or not. If nothing has been entered into the textbox, then we display a messagebox informing the user of the problem. And if something is added then it just ignores the alert!!</p>
<p>Now to get this working we finally need to add the <em>onSubmit</em> property to our form so that it validates before submission. Just replace the line that has your form properties with the one below:</p>
<pre class="brush: xml; title: ; notranslate">&lt;/pre&gt;
&lt;form id=&quot;main-form&quot; action=&quot;http://pastebin.com/api_public.php&quot; method=&quot;post&quot; name=&quot;paste_form&quot; onsubmit=&quot;return validateForm(paste_form);&quot;&gt;
</pre>
</form>
<p>Now whenever the user clicks submit, the <em>onSubmit</em> property we added here will check the form for code before submitting it to PasteBin&#8217;s API. I copy-pasted that entire line to avoid any confusions here!! <img src='http://apiguides.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h2>ADDING THE ELASTIC EFFECT TO OUR TEXTBOX</h2>
<p>We&#8217;ll be adding a cool elastic effect to our textbox (which consists of our code). We do this to replace an ugly-looking textbox which has a scroll bar with a sliding text-box which grows bigger as you type in it. This is just to enhance user experience.</p>
<p>We have already imported the JQuery library hosted on Google&#8217;s CDN in our application&#8217;s head. Now we&#8217;ll be using this exciting plugin by <a href="http://www.unwrongest.com/projects/elastic/" target="_blank">Jan Jarfalk</a> to add the elastic effect to our application! For that download the plugin files <a href="http://tutorialswalk.info/demo/pastebin-api-php/js.zip" target="_blank">here</a>. And then place then in a folder named <em>js</em>. Now call the file named <em>jquery.elastic.js</em> in your HTML application&#8217;s head like this:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script charset=&quot;utf-8&quot; type=&quot;text/javascript&quot; src=&quot;js/jquery.elastic.js&quot;&gt;&lt;/script&gt; </pre>
<p>After that add the following code snippet too to your application&#8217;s head:</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[
  $(document).ready(function(){  $('textarea').elastic();
// ]]&gt;&lt;/script&gt;
</pre>
<p>Finally your application should look something like below:</p>
<pre class="brush: xml; title: ; notranslate">

PasteBin.com API | APIGuides | TutorialsWalk
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[
  $(document).ready(function(){  $('textarea').elastic(); // ]]&gt;
&lt;pre&gt;function validateForm(paste_form)
{

if(&quot;&quot;==document.forms.paste_form.paste_code.value)
{
alert(&quot;Come on!, Enter something in the codebox!!&quot;);
return false;
}
}&lt;/pre&gt;

// ]]&gt;&lt;/script&gt;&lt;/pre&gt;
&lt;h1&gt;Experimenting with PasteBin.com's API&lt;/h1&gt;
&lt;div id=&quot;form&quot;&gt;
&lt;!--Start Form--&gt;
&lt;form action=&quot;http://pastebin.com/api_public.php&quot; method=&quot;post&quot; name=&quot;paste_form&quot;&gt;Paste Text: &lt;em&gt;(REQUIRED!)&lt;/em&gt;
 &lt;textarea name=&quot;paste_code&quot; rows=&quot;5&quot; cols=&quot;50&quot;&gt;&lt;/textarea&gt;
 Syntax highlighting: &lt;em&gt;(optional)&lt;/em&gt;

&lt;select name=&quot;paste_format&quot;&gt; &lt;option value=&quot;bash&quot;&gt;Bash&lt;/option&gt; &lt;option value=&quot;c&quot;&gt;C&lt;/option&gt; &lt;option value=&quot;cpp&quot;&gt;C++&lt;/option&gt; &lt;option value=&quot;css&quot;&gt;CSS&lt;/option&gt; &lt;option value=&quot;html4strict&quot;&gt;HTML&lt;/option&gt; &lt;option value=&quot;java&quot;&gt;Java&lt;/option&gt; &lt;option value=&quot;javascript&quot;&gt;JavaScript&lt;/option&gt; &lt;option value=&quot;lua&quot;&gt;Lua&lt;/option&gt; &lt;option selected=&quot;selected&quot; value=&quot;text&quot;&gt;None&lt;/option&gt; &lt;option value=&quot;perl&quot;&gt;Perl&lt;/option&gt; &lt;option value=&quot;php&quot;&gt;PHP&lt;/option&gt; &lt;option value=&quot;python&quot;&gt;Python&lt;/option&gt; &lt;option value=&quot;rails&quot;&gt;Rails&lt;/option&gt; &lt;option value=&quot;0&quot;&gt;----------------------------&lt;/option&gt; &lt;option value=&quot;abap&quot;&gt;ABAP&lt;/option&gt; &lt;option value=&quot;actionscript&quot;&gt;ActionScript&lt;/option&gt; &lt;option value=&quot;ada&quot;&gt;Ada&lt;/option&gt; &lt;option value=&quot;apache&quot;&gt;Apache Log File&lt;/option&gt; &lt;option value=&quot;applescript&quot;&gt;AppleScript&lt;/option&gt; &lt;option value=&quot;asm&quot;&gt;ASM (NASM based)&lt;/option&gt; &lt;option value=&quot;asp&quot;&gt;ASP&lt;/option&gt; &lt;option value=&quot;autoit&quot;&gt;AutoIt&lt;/option&gt; &lt;option value=&quot;bash&quot;&gt;Bash&lt;/option&gt; &lt;option value=&quot;blitzbasic&quot;&gt;Blitz Basic&lt;/option&gt; &lt;option value=&quot;bnf&quot;&gt;BNF&lt;/option&gt; &lt;option value=&quot;c&quot;&gt;C&lt;/option&gt; &lt;option value=&quot;c_mac&quot;&gt;C for Macs&lt;/option&gt; &lt;option value=&quot;csharp&quot;&gt;C#&lt;/option&gt; &lt;option value=&quot;cpp&quot;&gt;C++&lt;/option&gt; &lt;option value=&quot;caddcl&quot;&gt;CAD DCL&lt;/option&gt; &lt;option value=&quot;cadlisp&quot;&gt;CAD Lisp&lt;/option&gt; &lt;option value=&quot;cfm&quot;&gt;ColdFusion&lt;/option&gt; &lt;option value=&quot;css&quot;&gt;CSS&lt;/option&gt; &lt;option value=&quot;d&quot;&gt;D&lt;/option&gt; &lt;option value=&quot;delphi&quot;&gt;Delphi&lt;/option&gt; &lt;option value=&quot;dff&quot;&gt;Diff&lt;/option&gt; &lt;option value=&quot;dos&quot;&gt;DOS&lt;/option&gt; &lt;option value=&quot;eiffel&quot;&gt;Eiffel&lt;/option&gt; &lt;option value=&quot;erlang&quot;&gt;Erlang&lt;/option&gt; &lt;option value=&quot;fortran&quot;&gt;Fortran&lt;/option&gt; &lt;option value=&quot;freebasic&quot;&gt;FreeBasic&lt;/option&gt; &lt;option value=&quot;gml&quot;&gt;Game Maker&lt;/option&gt; &lt;option value=&quot;genero&quot;&gt;Genero&lt;/option&gt; &lt;option value=&quot;groovy&quot;&gt;Groovy&lt;/option&gt; &lt;option value=&quot;haskell&quot;&gt;Haskell&lt;/option&gt; &lt;option value=&quot;html4strict&quot;&gt;HTML&lt;/option&gt; &lt;option value=&quot;ini&quot;&gt;INI file&lt;/option&gt; &lt;option value=&quot;inno&quot;&gt;Inno Script&lt;/option&gt; &lt;option value=&quot;java&quot;&gt;Java&lt;/option&gt; &lt;option value=&quot;javascript&quot;&gt;JavaScript&lt;/option&gt; &lt;option value=&quot;latex&quot;&gt;Latex&lt;/option&gt; &lt;option value=&quot;lsl2&quot;&gt;Linden Scripting Language&lt;/option&gt; &lt;option value=&quot;lisp&quot;&gt;Lisp&lt;/option&gt; &lt;option value=&quot;lua&quot;&gt;Lua&lt;/option&gt; &lt;option value=&quot;m68k&quot;&gt;M68000 Assembler&lt;/option&gt; &lt;option value=&quot;matlab&quot;&gt;MatLab&lt;/option&gt; &lt;option value=&quot;matlab&quot;&gt;MatLab&lt;/option&gt; &lt;option value=&quot;mirc&quot;&gt;mIRC&lt;/option&gt; &lt;option value=&quot;mpasm&quot;&gt;MPASM&lt;/option&gt; &lt;option value=&quot;mysql&quot;&gt;MySQL&lt;/option&gt; &lt;option value=&quot;text&quot;&gt;None&lt;/option&gt; &lt;option value=&quot;nsis&quot;&gt;NullSoft Installer&lt;/option&gt; &lt;option value=&quot;objc&quot;&gt;Objective C&lt;/option&gt; &lt;option value=&quot;ocaml&quot;&gt;OCaml&lt;/option&gt; &lt;option value=&quot;oobas&quot;&gt;Openoffice.org BASIC&lt;/option&gt; &lt;option value=&quot;oracle8&quot;&gt;Oracle 8&lt;/option&gt; &lt;option value=&quot;pascal&quot;&gt;Pascal&lt;/option&gt; &lt;option value=&quot;perl&quot;&gt;Perl&lt;/option&gt; &lt;option value=&quot;php&quot;&gt;PHP&lt;/option&gt; &lt;option value=&quot;plswl&quot;&gt;PL/SQL&lt;/option&gt; &lt;option value=&quot;python&quot;&gt;Python&lt;/option&gt; &lt;option value=&quot;qbasic&quot;&gt;QBasic/QuickBASIC&lt;/option&gt; &lt;option value=&quot;rails&quot;&gt;Rails&lt;/option&gt; &lt;option value=&quot;robots&quot;&gt;Robots&lt;/option&gt; &lt;option value=&quot;ruby&quot;&gt;Ruby&lt;/option&gt; &lt;option value=&quot;scheme&quot;&gt;Scheme&lt;/option&gt; &lt;option value=&quot;smalltalk&quot;&gt;Smalltalk&lt;/option&gt; &lt;option value=&quot;smarty&quot;&gt;Smarty&lt;/option&gt; &lt;option value=&quot;sql&quot;&gt;SQL&lt;/option&gt; &lt;option value=&quot;tcl&quot;&gt;TCL&lt;/option&gt; &lt;option value=&quot;tcl&quot;&gt;TCL&lt;/option&gt; &lt;option value=&quot;unreal&quot;&gt;unrealScript&lt;/option&gt; &lt;option value=&quot;vbnet&quot;&gt;VB.NET&lt;/option&gt; &lt;option value=&quot;vb&quot;&gt;VisualBasic&lt;/option&gt; &lt;option value=&quot;visualfoxpro&quot;&gt;VisualFoxPro&lt;/option&gt; &lt;option value=&quot;xml&quot;&gt;XML&lt;/option&gt; &lt;option value=&quot;z80&quot;&gt;Z80 Assembler&lt;/option&gt; &lt;/select&gt;

Post expiration: &lt;em&gt;(optional)&lt;/em&gt;

&lt;select name=&quot;paste_expire_date&quot;&gt; &lt;option value=&quot;N&quot;&gt;Never&lt;/option&gt; &lt;option value=&quot;10M&quot;&gt;10 Minutes&lt;/option&gt; &lt;option value=&quot;1H&quot;&gt;1 Hour&lt;/option&gt; &lt;option value=&quot;1D&quot;&gt;1 Day&lt;/option&gt; &lt;option value=&quot;1M&quot;&gt;1 Month&lt;/option&gt; &lt;/select&gt;

Post exposure: &lt;em&gt;(optional)&lt;/em&gt;

&lt;select name=&quot;paste_private&quot;&gt;&lt;option value=&quot;0&quot;&gt;Public&lt;/option&gt;&lt;option value=&quot;1&quot;&gt;Private&lt;/option&gt;&lt;/select&gt;

Name / Title: &lt;em&gt;(optional)&lt;/em&gt;
 &lt;input type=&quot;text&quot; name=&quot;paste_name&quot; value=&quot;&quot; size=&quot;20&quot; /&gt;
Email: &lt;em&gt;(optional)&lt;/em&gt;
&lt;!--Email--&gt; &lt;input type=&quot;text&quot; name=&quot;paste_email&quot; value=&quot;&quot; size=&quot;20&quot; /&gt;

 &lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;submit&quot; /&gt;&lt;/form&gt;&lt;/div&gt;
&lt;pre&gt;
&lt;!--End Form--&gt;
</pre>
<p>The entire application files we made today are available for DEMO &amp; DOWNLOAD.</p>
<p>If you have any suggestions or comments on this then feel free to use the Comment Form below <img src='http://apiguides.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/apiguides?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZiqIGo0fdi8:dipAvPwmACI:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/apiguides?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/apiguides?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZiqIGo0fdi8:dipAvPwmACI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/apiguides?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZiqIGo0fdi8:dipAvPwmACI:KwTdNBX3Jqk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/apiguides?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZiqIGo0fdi8:dipAvPwmACI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/apiguides?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZiqIGo0fdi8:dipAvPwmACI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZiqIGo0fdi8:dipAvPwmACI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZiqIGo0fdi8:dipAvPwmACI:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/apiguides/~4/ZiqIGo0fdi8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://apiguides.com/pastebin-com-api/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://apiguides.com/pastebin-com-api</feedburner:origLink></item>
		<item>
		<title>What is an API?</title>
		<link>http://feedproxy.google.com/~r/apiguides/~3/ZMSAkMF0s3U/what-is-an-api</link>
		<comments>http://apiguides.com/what-is-an-api#comments</comments>
		<pubDate>Mon, 28 Jun 2010 06:00:57 +0000</pubDate>
		<dc:creator>abhishek</dc:creator>
				<category><![CDATA[What]]></category>

		<guid isPermaLink="false">http://apiguides.com/?p=19</guid>
		<description><![CDATA[In this modern web-world, API&#8217;s are being used extensively for a variety of purposes as the API allows programmers to use predefined functions to interact with the remote script (on a remote server) to do a variety of things, intead &#8230; <a href="http://apiguides.com/what-is-an-api">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In this modern web-world, API&#8217;s are being used extensively for a variety of purposes as the API allows programmers to use predefined functions to interact with the remote script (on a remote server) to do a variety of things, intead of writing them from scratch. Today you&#8217;ll learn about the basic purpose and concept of APIs.</p>
<p><span id="more-19"></span></p>
<h2 style="text-align: justify;">INTRODUCTION</h2>
<ul style="text-align: justify;">
<li>API or an <span style="text-decoration: underline;"><em>Application-Programming Interface</em></span> is a set of data structures, programming instructions and standards, protocols, routines and tools for accessing a web-based software application or a predefined function on an Operating System (OS).</li>
<li>There are two types of API&#8217;s; the Operating System ones which let the software developers use the predefined functions &amp; the one&#8217;s that website&#8217;s offer like Twitter.</li>
<li>API&#8217;s can be programmed in any language and they can be used in any language.</li>
<li>An API is a software-to-software interface, not a user interface.</li>
<li>With APIs, applications talk to each other without any user knowledge or intervention.</li>
<li>As a user you only see one interface but behind the scenes, many web applications and APIs are working together to provide you top-notch services.</li>
</ul>
<h2 style="text-align: justify;">PURPOSE</h2>
<p>API&#8217;s can serve for a variety of purposes:</p>
<ul>
<li>Without actually going to (browsing through) a site, you can actually post to it.</li>
<li>More control over what to post</li>
<li>Easy to use and implement.</li>
<li>Increasing the importance of an online application.</li>
<li>Saving bandwidth (if you use your application then you can modify it as you want)</li>
</ul>
<h2>EXAMPLES</h2>
<p>You might not even know but I am 100% sure that you have probably used an API using application (indirectly) before like:</p>
<ul>
<li>For posting to Twitter/Facebook, applications like TweetDeck, TwitterFeed, the Facebook chat applications available use API&#8217;s as they are internally connecting to the respective websites and then helping you post updates or chat to your friends.</li>
<li>Domain selling services like GoDaddy use the Paypal API to take your payments and then redirect you back to your GoDaddy&#8217;s account.</li>
</ul>
<p>There are many more real-life examples of API&#8217;s and APIGuides.com will help you to build applications using those robust API&#8217;s available out there.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/apiguides?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZMSAkMF0s3U:Seebn2yc7cY:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/apiguides?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/apiguides?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZMSAkMF0s3U:Seebn2yc7cY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/apiguides?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZMSAkMF0s3U:Seebn2yc7cY:KwTdNBX3Jqk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/apiguides?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZMSAkMF0s3U:Seebn2yc7cY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/apiguides?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZMSAkMF0s3U:Seebn2yc7cY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=ZMSAkMF0s3U:Seebn2yc7cY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/apiguides?i=ZMSAkMF0s3U:Seebn2yc7cY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/apiguides/~4/ZMSAkMF0s3U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://apiguides.com/what-is-an-api/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://apiguides.com/what-is-an-api</feedburner:origLink></item>
		<item>
		<title>Welcome to APIGuides.com</title>
		<link>http://feedproxy.google.com/~r/apiguides/~3/K0HjpNmcoNg/welcome-to-apiguides</link>
		<comments>http://apiguides.com/welcome-to-apiguides#comments</comments>
		<pubDate>Mon, 28 Jun 2010 03:19:44 +0000</pubDate>
		<dc:creator>abhishek</dc:creator>
				<category><![CDATA[What]]></category>

		<guid isPermaLink="false">http://apiguides.com/?p=21</guid>
		<description><![CDATA[Welcome to APIGuides.com! This won&#8217;t be just &#8220;any other tutorials website&#8220;, but a collection of some premium articles/tutorials on API. My goal is to provide you the key to some of the web&#8217;s top API&#8217;s in collaboration with my Open-Source &#8230; <a href="http://apiguides.com/welcome-to-apiguides">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Welcome to <em>APIGuides.com</em>! This won&#8217;t be just &#8220;<em>any other tutorials website</em>&#8220;, but a collection of some premium articles/tutorials on API. My goal is to provide you the key to some of the web&#8217;s top API&#8217;s in collaboration with my <a href="http://opwebs.com" target="_blank">Open-Source project</a> &amp; <a href="http://tutorialswalk.info" target="_blank">TutorialsWalk</a>. Just have patience in me and be assured of getting the best!</p>
<h2 style="text-align: justify;"><span style="text-decoration: underline;">Connect with APIGuides</span></h2>
<ul>
<li>Twitter: <a href="http://twitter.com/apiguides" target="_blank">http://twitter.com/apiguides</a></li>
<li>Facebook: <a href="http://facebook.com/pages/apiguides" target="_blank">http://facebook.com/pages/apiguides</a></li>
<li>Feed: <a href="http://feeds.feedburner.com/apiguides" target="_blank">http://feeds.feedburner.com/apiguides</a></li>
<li>Google Profile (Buzz): <a href="http://google.com/profiles/apiguides" target="_blank">http://google.com/profiles/apiguides</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/apiguides?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/apiguides?i=K0HjpNmcoNg:OCDJICt4N3o:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/apiguides?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/apiguides?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/apiguides?i=K0HjpNmcoNg:OCDJICt4N3o:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/apiguides?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/apiguides?i=K0HjpNmcoNg:OCDJICt4N3o:KwTdNBX3Jqk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/apiguides?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/apiguides?i=K0HjpNmcoNg:OCDJICt4N3o:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/apiguides?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/apiguides?i=K0HjpNmcoNg:OCDJICt4N3o:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/apiguides?a=K0HjpNmcoNg:OCDJICt4N3o:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/apiguides?i=K0HjpNmcoNg:OCDJICt4N3o:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/apiguides/~4/K0HjpNmcoNg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://apiguides.com/welcome-to-apiguides/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://apiguides.com/welcome-to-apiguides</feedburner:origLink></item>
	</channel>
</rss>

