{"id":128,"date":"2011-04-05T13:13:44","date_gmt":"2011-04-05T20:13:44","guid":{"rendered":"http:\/\/themanwhosoldtheweb.com\/blog\/?p=128"},"modified":"2011-06-15T01:19:35","modified_gmt":"2011-06-15T08:19:35","slug":"bests-apis-to-autoscale","status":"publish","type":"post","link":"http:\/\/themanwhosoldtheweb.com\/blog\/2011\/04\/bests-apis-to-autoscale\/","title":{"rendered":"Here&#8217;s an easy way to autoscale.  Use an API."},"content":{"rendered":"<p>So, you want to autoscale your site.\u00a0 Now what?<\/p>\n<p>A great and easy way to autoscale is to leverage another site&#8217;s API. What&#8217;s an API, you ask?\u00a0 An <a href=\"http:\/\/en.wikipedia.org\/wiki\/Application_programming_interface\">API, or application program interface<\/a>, is, as defined by Wikipedia, a particular set of rules and specifications that a software program can follow to access and make use of the services and resources provided by another particular software program that implements that API.\u00a0 Okay, now let&#8217;s translate that into English.\u00a0 An API is a tool that big sites (e.g. Google, Wikipedia, eBay, Amazon) create to allow other sites (i.e. think your site) to easily access their data.<\/p>\n<p>Here are some examples.\u00a0 Amazon and eBay affiliate sites all use APIs provided by Amazon and eBay.\u00a0 That&#8217;s how they are able to extract all the product info they need for their own spin-off sites.\u00a0 This is also how sites integrate Google Maps&#8211;by leveraging the Google Maps API.<\/p>\n<p>Now, how does this help you autoscale?<\/p>\n<p>An API is the doorway between your site and your site&#8217;s content.\u00a0 This means you essentially don&#8217;t need to create any data yourself, because all the data you need is already created for you.\u00a0 You just need to go through the API (i.e. the doorway) to get the data being requested by your site&#8217;s visitor.\u00a0 <!--more--><\/p>\n<p>For instance, let&#8217;s examine an Amazon affiliate site selling business books.\u00a0 This site doesn&#8217;t need to create a product page each business book title.\u00a0 It only needs to create 1 product page.\u00a0 Then, depending what the visitor is browsing or searching, that 1 product page will pull the necessary data from Amazon.\u00a0 Therefore, for each unique book title browsed, unique data will be returned&#8211;resulting in a unique page.\u00a0 This means, from Google or any search engine&#8217;s perspective, the site has X,XXX pages, where X,XXX equals the number of business books available on Amazon.<\/p>\n<p>With the right API and site design, you can grow your site to XX,XXX pages, even XXX,XXX pages or higher&#8211;with minimal work.\u00a0 Talk about autoscale at its finest!<\/p>\n<p>Are you conjuring up some ideas already?\u00a0 Great.\u00a0 Here are some of the my favourite APIs, organized by categories <em>(somewhat)<\/em>.\u00a0 Think about how you can leverage these APIs to create value-add sites that autoscale.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>RANDOM NEEDS<\/strong><\/span><em><strong> <\/strong><\/em><\/p>\n<p><strong>Google Maps<\/strong><br \/>\n<a href=\"http:\/\/www.google.com\/apis\/maps\/\">http:\/\/www.google.com\/apis\/maps\/<\/a><br \/>\nIf you have a site that has addresses or locations, pop in a Google Map.\u00a0 It just makes your site looks so damn professional with a map and those pins. \ud83d\ude42\u00a0 I put it on all my niche business directories.<\/p>\n<p><strong>Facebook Connect API<\/strong><br \/>\n<a href=\"https:\/\/developers.facebook.com\/\">https:\/\/developers.facebook.com\/<\/a><br \/>\nThese days, don&#8217;t bother creating your own membership community.\u00a0 Facebook is just too big of a gorilla.\u00a0 Tap into their members with Facebook Connect, which allows you to pull names, locations, networks, profile info (interests, movies, music), etc.<\/p>\n<p><strong>YouTube API<\/strong><br \/>\n<a href=\"http:\/\/www.youtube.com\/dev\">http:\/\/www.youtube.com\/dev<\/a><br \/>\nGrab videos embeds and video info (e.g. ratings, tags, thumbnails).<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>FOR SITES THAT SELL<\/strong><\/span><\/p>\n<p><strong>Amazon API<\/strong><br \/>\n<a href=\"https:\/\/affiliate-program.amazon.com\/gp\/advertising\/api\/detail\/main.html\">https:\/\/affiliate-program.amazon.com\/gp\/advertising\/api\/detail\/main.html<\/a><br \/>\nGreat product info, customer reviews, even restaurant listings!\u00a0 You definitely need this if you want to make money from being an Amazon affiliate.<\/p>\n<p><strong>eBay API<\/strong><br \/>\n<a href=\"http:\/\/developer.ebay.com\/common\/api\/\">http:\/\/developer.ebay.com\/common\/api\/<\/a><br \/>\nJust like the Amazon API, if you&#8217;re an eBay affiliate, you need to use their API instantly scale your storefront.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>FOR CONTENT<\/strong><\/span><\/p>\n<p><strong>MediaWiki API<\/strong><br \/>\n<a href=\"http:\/\/meta.wikimedia.org\/wiki\/API\">http:\/\/meta.wikimedia.org\/wiki\/API<\/a><br \/>\nThis is Wikipedia&#8217;s API.\u00a0 Good stuff here.<\/p>\n<p><strong>Twitter API<\/strong><br \/>\n<a href=\"http:\/\/apiwiki.twitter.com\/\">http:\/\/apiwiki.twitter.com\/<\/a><\/p>\n<p><strong>Google Search API<\/strong><br \/>\n<a href=\"http:\/\/code.google.com\/apis\/ajaxsearch\/\">http:\/\/code.google.com\/apis\/ajaxsearch\/<\/a><\/p>\n<p><strong>Digg API<\/strong><br \/>\n<a href=\"http:\/\/apidoc.digg.com\/\">http:\/\/apidoc.digg.com\/<\/a><\/p>\n<p><strong>Delicious API<\/strong><br \/>\n<a href=\"http:\/\/del.icio.us\/help\/api\/\">http:\/\/del.icio.us\/help\/api\/<\/a><\/p>\n<p>Am I missing any big, useful ones? Post it as a comment and I&#8217;ll update this post accordingly.<\/p>\n<p>Wanna learn more?\u00a0 Well, check these blog articles then:<\/p>\n<ul>\n<li><a href=\"http:\/\/themanwhosoldtheweb.com\/blog\/2011\/04\/live-case-study-build-300000-page-autoscale-autopilot-site\/\">I am conducting a live case study where I build an autoscaling megasite based off an API.<\/a><\/li>\n<li><a href=\"http:\/\/themanwhosoldtheweb.com\/blog\/2011\/06\/apis-apis-and-more-apis\/\">APIs, APIs, and more APIs &#8211; explore the smaller, lesser known APIs.<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><em><strong>dave<\/strong><\/em><\/p>\n<div id=\"_mcePaste\" class=\"mcePaste\" style=\"position: absolute; left: -10000px; top: 917px; width: 1px; height: 1px; overflow: hidden;\">http:\/\/developer.ebay.com\/common\/api\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>So, you want to autoscale your site.\u00a0 Now what? A great and easy way to autoscale is to leverage another site&#8217;s API. What&#8217;s an API, you ask?\u00a0 An API, or application program interface, is, as defined by Wikipedia, a particular set of rules and specifications that a software program can follow to access and make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[48,44,27,53,52,49,46,45,51,50,47],"class_list":["post-128","post","type-post","status-publish","format-standard","hentry","category-autoscale","tag-amazon","tag-api","tag-autoscale-2","tag-delicious","tag-digg","tag-ebay","tag-facebook","tag-google","tag-twitter","tag-wikipedia","tag-youtube"],"_links":{"self":[{"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/posts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":4,"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"predecessor-version":[{"id":130,"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/posts\/128\/revisions\/130"}],"wp:attachment":[{"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/themanwhosoldtheweb.com\/blog\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}