<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/api</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 07:07:39 GMT</pubDate>
<item>
<title>(C#) XMLNodeList to HTML Table based on Ektron Smartform data - dego89</title>
<link>http://snipplr.com/view/70320/xmlnodelist-to-html-table-based-on-ektron-smartform-data/</link>
<description><![CDATA[ <p>Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table</p> ]]></description>
<pubDate>Fri, 08 Mar 2013 02:33:03 GMT</pubDate>
<guid>http://snipplr.com/view/70320/xmlnodelist-to-html-table-based-on-ektron-smartform-data/</guid>
</item>
<item>
<title>(C#) Ektron list based on taxonomy id - dego89</title>
<link>http://snipplr.com/view/70319/ektron-list-based-on-taxonomy-id/</link>
<description><![CDATA[ <p>The following code retrieves a list of content based on a taxonomy id. The list is bound to a repeater that display a preview of the content with a quick link to a content page. The content comes in based on the previous taxonomy id but exposes a content list which can be used gather the html property's. Then I use a regex to take our specific nodes for the preview columns in my table.</p> ]]></description>
<pubDate>Fri, 08 Mar 2013 02:23:00 GMT</pubDate>
<guid>http://snipplr.com/view/70319/ektron-list-based-on-taxonomy-id/</guid>
</item>
<item>
<title>(JavaScript) Javascript Flickr API Helper - Raymonder</title>
<link>http://snipplr.com/view/69345/javascript-flickr-api-helper/</link>
<description><![CDATA[ <p>Class to create Flickr-API REST calls.</p> ]]></description>
<pubDate>Fri, 04 Jan 2013 03:02:38 GMT</pubDate>
<guid>http://snipplr.com/view/69345/javascript-flickr-api-helper/</guid>
</item>
<item>
<title>(C#) Tony Morris Compile-Check API Challenge - codernator</title>
<link>http://snipplr.com/view/69282/tony-morris-compilecheck-api-challenge/</link>
<description><![CDATA[ <p>This is a first stab at defining a tic-tac-toe API that is compile-time safe, as outlined in Tony's blog: "Understanding Practical API Design, Static Typing and Functional Programming" (http://blog.tmorris.net/understanding-practical-api-design-static-typing-and-functional-programming/).

Although the game engine API is strongly typed, it's design implicitly introduces potential run-time errors in its consumption. Still, I like where it is going.

The trick to this is the use of Nullable. Since the output of the "move" function can't simultaneously satisfy the input types of most API functions (move, whoWon, TakeBack), I deemed a conversion function necessary. Using structs to define board state and Nullable, I could guarantee that a type-safe, non-null value is passed to the each of the API methods. What I can't guarantee is that the API consumer won't misuse the Nullable instances. Presumably, the IGameEngine API implementation is buried in a DLL and the setters on Board, WinnerBoard, PlayableBoard, and UndoBoard are internal only, so a consumer of the API can't construct invalid instances of those data types.</p> ]]></description>
<pubDate>Fri, 28 Dec 2012 06:54:37 GMT</pubDate>
<guid>http://snipplr.com/view/69282/tony-morris-compilecheck-api-challenge/</guid>
</item>
<item>
<title>(PHP) JSONP Public API with jQuery getJSON (callback) (MySql) - halk</title>
<link>http://snipplr.com/view/68583/jsonp-public-api-with-jquery-getjson-callback-mysql/</link>
<description><![CDATA[ <p>This is a public jsonp api. I use it with jQuery Like This:
$.getJSON("http://yourdomain/yourpath/jsonp_api.php?method=getSchema&amp;params=your_db_name&amp;jsoncallback=?",
        function(data){
         //DO SOMETHING WITH THE DATA HERE
        }
    );</p> ]]></description>
<pubDate>Fri, 16 Nov 2012 09:08:46 GMT</pubDate>
<guid>http://snipplr.com/view/68583/jsonp-public-api-with-jquery-getjson-callback-mysql/</guid>
</item>
<item>
<title>(PHP) PHP API Header For Function Libraray (Call Any PHP Functions Via Ajax) - halk</title>
<link>http://snipplr.com/view/68091/php-api-header-for-function-libraray-call-any-php-functions-via-ajax/</link>
<description><![CDATA[ <p>Place your functions below the header and then call them by posting to the script with any kind of ajax :
$('#test').load('base/ajax/ajax_api.php',{method:'_sha256',params:"'batman','gargamelhatessmurfs'"});
for example.</p> ]]></description>
<pubDate>Mon, 05 Nov 2012 01:05:22 GMT</pubDate>
<guid>http://snipplr.com/view/68091/php-api-header-for-function-libraray-call-any-php-functions-via-ajax/</guid>
</item>
<item>
<title>(Python) Using Scrapy crawler with a blocking API from a thread - scrapy</title>
<link>http://snipplr.com/view/67010/using-scrapy-crawler-with-a-blocking-api-from-a-thread/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 01 Sep 2012 07:15:32 GMT</pubDate>
<guid>http://snipplr.com/view/67010/using-scrapy-crawler-with-a-blocking-api-from-a-thread/</guid>
</item>
<item>
<title>(PHP) JSON Responder - evinweissenberg</title>
<link>http://snipplr.com/view/66800/json-responder/</link>
<description><![CDATA[ <p>This response in JSON format with an ability to indicate type,code, message and if there is data, with data.</p> ]]></description>
<pubDate>Sat, 18 Aug 2012 07:51:54 GMT</pubDate>
<guid>http://snipplr.com/view/66800/json-responder/</guid>
</item>
<item>
<title>(PHP) REST API products and categories from pinnacleCart - crypticsoft</title>
<link>http://snipplr.com/view/66798/rest-api-products-and-categories-from-pinnaclecart/</link>
<description><![CDATA[ <p>This is a useful class which utilizes Phil Sturgeon's helpful restclient (http://getsparks.org/packages/restclient/versions/HEAD/show). Reference the URL attached for PinnacleCart API docs.

Example request URLs to get products and categories:

# Get product by product_id (XX##) or keyword(s)
~/products/getProducts/search/10/oj70/oj77/oj75

# Recently added products by CategoryID (/cID/batchSize)
~/products/getProductsByCategory/92/10

# Recently added product images by CategoryID (/cID/batchSize) 
-- This was to remove the 'Description' key/value for slide shows
~/products/getProductImagesByCategory/92/10

# Recently added products by limit
~/products/getRecentlyAdded/20

# Get all categories
~/products/getCategories</p> ]]></description>
<pubDate>Sat, 18 Aug 2012 02:50:58 GMT</pubDate>
<guid>http://snipplr.com/view/66798/rest-api-products-and-categories-from-pinnaclecart/</guid>
</item>
<item>
<title>(JavaScript) Create Screenshots with JavaScript - Maximus1983</title>
<link>http://snipplr.com/view/65045/create-screenshots-with-javascript/</link>
<description><![CDATA[ <p>You will need to get an account at [GrabzIt](http://grabz.it) once you have this you need to add your [authorized domain](http://grabz.it/account/domains.aspx) this stops people using your account resources.

Then get your [application key](http://grabz.it/api/) place this where it says APPPLICATION KEY in the snipped below.

Change http://www.google.com to be the website of your choice.

Place this snippet anywhere within the body tag. Your screenshot should appear within a few seconds. You can have as many of these tags on the page as you like.

If you need to debug it they have a [diagnostics panel](http://grabz.it/account/diagnostics/) there are also [more options](http://grabz.it/api/javascript/) available.</p> ]]></description>
<pubDate>Thu, 24 May 2012 00:13:40 GMT</pubDate>
<guid>http://snipplr.com/view/65045/create-screenshots-with-javascript/</guid>
</item>
<item>
<title>(ActionScript 3) Simple Facebook Using GraphAPI_Web.Swc In As3 - Matias</title>
<link>http://snipplr.com/view/63044/simple-facebook-using-graphapiwebswc-in-as3/</link>
<description><![CDATA[ <p>a handy class to manage facebook connections using as3</p> ]]></description>
<pubDate>Sat, 04 Feb 2012 02:27:18 GMT</pubDate>
<guid>http://snipplr.com/view/63044/simple-facebook-using-graphapiwebswc-in-as3/</guid>
</item>
<item>
<title>(ActionScript 3) Upload Image To Facebook using GraphAPI_Web.swc in as3 - Matias</title>
<link>http://snipplr.com/view/63016/upload-image-to-facebook-using-graphapiwebswc-in-as3/</link>
<description><![CDATA[ <p>i assume that the Facebook api has been initialized and i have the "publish_stream permission"
the picture can be taken of a particular area of the displayObject</p> ]]></description>
<pubDate>Fri, 03 Feb 2012 05:38:19 GMT</pubDate>
<guid>http://snipplr.com/view/63016/upload-image-to-facebook-using-graphapiwebswc-in-as3/</guid>
</item>
<item>
<title>(HTML) jQuery - Load from Google - ryarwood</title>
<link>http://snipplr.com/view/62883/jquery--load-from-google/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 30 Jan 2012 08:47:39 GMT</pubDate>
<guid>http://snipplr.com/view/62883/jquery--load-from-google/</guid>
</item>
<item>
<title>(PHP) Drupal Batch API for hook_update_N() - wizonesolutions</title>
<link>http://snipplr.com/view/62213/drupal-batch-api-for-hookupdaten/</link>
<description><![CDATA[ <p>This is the Batch API example shown on http://api.drupal.org/api/drupal/developer--hooks--install.php/function/hook_update_N/6.</p> ]]></description>
<pubDate>Sun, 01 Jan 2012 15:44:56 GMT</pubDate>
<guid>http://snipplr.com/view/62213/drupal-batch-api-for-hookupdaten/</guid>
</item>
<item>
<title>(ActionScript 3) Custom response headers URLRequest AS3 - sidneydekoning</title>
<link>http://snipplr.com/view/60880/custom-response-headers-urlrequest-as3/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Nov 2011 13:07:09 GMT</pubDate>
<guid>http://snipplr.com/view/60880/custom-response-headers-urlrequest-as3/</guid>
</item>
<item>
<title>(JavaScript) Use PhoneGap to Create a File - parkerkrhoyt</title>
<link>http://snipplr.com/view/60534/use-phonegap-to-create-a-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Nov 2011 07:24:22 GMT</pubDate>
<guid>http://snipplr.com/view/60534/use-phonegap-to-create-a-file/</guid>
</item>
<item>
<title>(PHP) Twitter Followers Image List - jhonqwerty</title>
<link>http://snipplr.com/view/59981/twitter-followers-image-list/</link>
<description><![CDATA[ <p>A simple script to show a followers list in Wordpress. (It can be used in other places also, you have to change the WP specific variables). The script needs to create a cache file to not overload Twitter API.</p> ]]></description>
<pubDate>Thu, 20 Oct 2011 07:26:21 GMT</pubDate>
<guid>http://snipplr.com/view/59981/twitter-followers-image-list/</guid>
</item>
<item>
<title>(PHP) Convert Twitter API Datetime to MySQL Datetime Format - aristoworks</title>
<link>http://snipplr.com/view/59869/convert-twitter-api-datetime-to-mysql-datetime-format/</link>
<description><![CDATA[ <p>This is a very rudimentary function used to convert a Datetime delivered by the Twitter API to a format you can store in MySQL's datetime field.</p> ]]></description>
<pubDate>Mon, 17 Oct 2011 00:51:40 GMT</pubDate>
<guid>http://snipplr.com/view/59869/convert-twitter-api-datetime-to-mysql-datetime-format/</guid>
</item>
<item>
<title>(JavaScript) Google visualization GeoMap problem - adino</title>
<link>http://snipplr.com/view/59770/google-visualization-geomap-problem/</link>
<description><![CDATA[ <p>If you use this snippet in http://code.google.com/apis/ajax/playground/?type=visualization#geo_map it shows SK - ISO3166 code for Slovakia somewhere in Canada. Although personally I wouldn't mind, it seems to be incorrect.</p> ]]></description>
<pubDate>Fri, 14 Oct 2011 20:28:08 GMT</pubDate>
<guid>http://snipplr.com/view/59770/google-visualization-geomap-problem/</guid>
</item>
<item>
<title>(JavaScript) Javascript Fullscreen API webkit - alexteg</title>
<link>http://snipplr.com/view/59020/javascript-fullscreen-api-webkit/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 23 Sep 2011 18:18:08 GMT</pubDate>
<guid>http://snipplr.com/view/59020/javascript-fullscreen-api-webkit/</guid>
</item>
</channel>
</rss>