<?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>Webmonkey &#187; API</title>
    <atom:link href="http://www.webmonkey.com/tag/api/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>BBC Taps the Past to Showcase the Future of Web Audio</title>
        <link>http://www.webmonkey.com/2012/12/bbc-taps-the-past-to-showcase-the-future-of-web-audio/</link>
        <comments>http://www.webmonkey.com/2012/12/bbc-taps-the-past-to-showcase-the-future-of-web-audio/#comments</comments>
        <pubDate>Tue, 04 Dec 2012 16:57:36 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60160</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[audio]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/12/bbctapeloops-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/bbctapeloops.jpg" alt="BBC Taps the Past to Showcase the Future of Web Audio" /></div>The HTML5 video element gets more attention, but, as the BBC's latest experiment shows, the HTML5 audio element is equally revolutionary, perhaps even more so thanks to the work-in-progress Web Audio API.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_60161" class="wp-caption aligncenter" style="width: 590px"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/bbctapeloops.jpg" alt="" title="bbctapeloops" width="580" height="330" class="size-full wp-image-60161" /><p class="wp-caption-text">Mixing old school tape loops with the BBC&#8217;s Web Audio API demo. <em>Image: Screenshot/Webmonkey</em></p></div>
<p>HTML5 offers developers new ways to display and work with both audio and video on the web. The HTML5 <code>&lt;video&gt;</code> element tends to get more attention, but the HTML5 audio element is equally revolutionary, perhaps even more so thanks to the work-in-progress Web Audio API (currently <a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html" target="_blank">in the draft stages</a>).</p>
<p>Developers at the BBC recently set out to push the limits of what you can do with HTML5 <code>&lt;audio&gt;</code> and the Web Audio API. The result is a new audio playground site that recreates <a href="http://webaudio.prototyping.bbc.co.uk/" target="_blank">the sounds of the BBC Radiophonic Workshop using the Web Audio API</a>. Note that right now only WebKit browsers support the Web Audio API. (Firefox supports the older, deprecated, Audio Data API, but plans to <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=779297" target="_blank">ship support for Web Audio in 2013</a>.)</p>
<p>The BBC&#8217;s Radiophonic Workshop project is one part cool demo, one part tutorial. It&#8217;s fun to play around with, sure, but another reason behind the experiment is to document how to use <code>&lt;audio&gt;</code> and the Web Audio API. The developers also wanted to put the API through some real-world use cases, to see if there are any limitations that could be addressed before the Web Audio API becomes an official standard.</p>
<p>Each of the four demos has a thorough code walk-through showing exactly how it works and which elements of the Web Audio API are being used. There are a couple of dependencies, namely JQuery and Backbone.js, but most of the code is working directly with the Web Audio API. </p>
<p>If you&#8217;ve ever wanted to explore the Web Audio API, these demos make a great introduction to how everything works. For more background on the project, see the <a href="http://www.bbc.co.uk/blogs/researchanddevelopment/2012/05/web-audio-radiophonics-1.shtml" target="_blank">BBC&#8217;s Research and Development blog</a>.</p>
<p>So far the code doesn&#8217;t seem to be available through the <a href="https://github.com/bbcrd" target="_blank">BBC&#8217;s R&amp;D GitHub account</a>. You can always copy and paste from the demo site, but it would be nice if it was available for easy forking and experimentation.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/12/bbc-taps-the-past-to-showcase-the-future-of-web-audio/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Twitter Tells Tumblr: No Friends for You</title>
        <link>http://www.webmonkey.com/2012/08/twitter-to-tumblr-no-friends-for-you/</link>
        <comments>http://www.webmonkey.com/2012/08/twitter-to-tumblr-no-friends-for-you/#comments</comments>
        <pubDate>Thu, 23 Aug 2012 15:12:31 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=58640</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Twitter]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/08/twitterlogo-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/08/twitterlogo.jpg" alt="Twitter Tells Tumblr: No Friends for You" /></div>Twitter continues its API crackdown, this time cutting off Tumblr, which is no longer allowed to offer its users a "Find Twitter Friends" search feature.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><a href="http://www.webmonkey.com/wp-content/uploads/2012/08/twitterlogo.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/08/twitterlogo.jpg" alt="" title="twitterlogo" width="285" height="204" class="alignleft size-full wp-image-58643" /></a>
<p>We hope you weren&#8217;t planning to find your Twitter friends outside of Twitter because pretty soon it will likely be impossible to do so. </p>
<p>Twitter has slowly but surely been cutting out major third-party sites, preventing then from offering a &#8220;Find Twitter Friends&#8221; search feature. </p>
<p>The latest third-party site to lose access to your Twitter contacts is, as Buzzfeed&#8217;s Matt Buchanan <a href="https://twitter.com/mattbuchanan/status/238380870334029826/photo/1/large">first noted</a>, hosted blogging service Tumblr. Previously Twitter has cut off LinkedIn and, more recently, photo-sharing site Instagram. </p>
<p>Tumblr still offers a way to find your friends on the service by searching either Gmail contacts or Facebook friends.</p>
<p>Earlier this month Twitter <a href="http://www.webmonkey.com/2012/07/its-time-build-a-twitter-free-twitter/">put third-party application developers on notice</a>, saying that the social network arguably built on the backs of third-party developers no longer needs them. Twitter has also been cutting off third-party social networks like Tumblr, Instagram and LinkedIn.</p>
<p>Twitter&#8217;s API rules aren&#8217;t entirely clear, but the company&#8217;s overall position seems to be that developers &#8212; including big third-party sites like Tumblr &#8212; should be putting their content into Twitter, but not taking anything back out. </p>
<p>That stance, along with the user limits on third-party client software, has soured many developers on Twitter. Thus far though there doesn&#8217;t seem to be a mass exodus of angry developers abandoning Twitter. That may simply be because, at the moment, there&#8217;s nowhere else to go, though, as always, <a href="http://www.webmonkey.com/2012/08/one-foot-on-the-platform/">the open web offers a solution</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/08/twitter-to-tumblr-no-friends-for-you/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>JavaScript Decoder Brings High-Quality Audio to the Web</title>
        <link>http://www.webmonkey.com/2012/06/javascript-decoder-brings-high-quality-audio-to-the-web/</link>
        <comments>http://www.webmonkey.com/2012/06/javascript-decoder-brings-high-quality-audio-to-the-web/#comments</comments>
        <pubDate>Tue, 19 Jun 2012 17:52:28 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=57545</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[audio]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/06/HTML5audio1-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/06/HTML5audio1.jpg" alt="JavaScript Decoder Brings High-Quality Audio to the Web" /></div>HTML5 offers web developers some, but not all, of the tools they need to build awesome online audio apps to rival GarageBand. The new FLAC.js from Official.fm Labs picks up some of the slack, providing a way to decode lossless FLAC audio in the browser.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_57552" class="wp-caption alignleft" style="width: 278px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/06/HTML5audio1.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/06/HTML5audio1.jpg" alt="" title="HTML5audio" width="268" height="300" class="size-full wp-image-57552" /></a><p class="wp-caption-text"><em>Image: Webmonkey</em></p></div>HTML5&#8242;s native audio and video tools promise to eventually make it possible to create sophisticated audio and video editing apps that run in the browser. Unfortunately much of that promise has thus far been marred by a <a href="http://www.webmonkey.com/2009/06/browser_vendors_can_t_agree_on_media_codecs_for_the_web/">battle over audio and video codecs</a>. Right now what works in one browser on one operating system will not necessarily work on another. </p>
<p>Until the codec battle plays itself out, developers looking to build native HTML audio apps are in a bit of a bind. One way around the problem is to bypass the browser and provide your own decoder.</p>
<p> That&#8217;s exactly what the developers at <a href="http://labs.official.fm/">Official.fm Labs</a> have been hard at work doing. The latest impressive release is <a href="https://github.com/ofmlabs/flac.js">FLAC.js</a>, a <a href="http://labs.official.fm/articles/2012/06/15/flac-and-aurora/">FLAC audio decoder written in pure JavaScript</a>. FLAC.js joins the group&#8217;s earlier efforts, which include decoders for MP3, AAC and ALAC. </p>
<p>Used in conjunction with the nascent <a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html">Web Audio API</a>, the new FLAC decoder means you could serve up high-quality, lossless audio to browsers that support HTML5 audio. But beyond just playback the Web Audio API opens the door to a whole new range of audio applications in the browser &#8212; think GarageBand on the web or DJ applications.</p>
<p>To that end Official.fm Labs has been working a framework it calls <a href="https://github.com/ofmlabs/aurora.js">Aurora.js</a> (CoffeeScript) to help make it easier to build audio applications for the web.</p>
<p>If you&#8217;d like to experiment with Aurora.js or check out the new FLAC decoder, head on over to <a href="https://github.com/ofmlabs/">Official.fm&#8217;s GitHub account</a> where you&#8217;ll find all the code available under an MIT license.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/06/javascript-decoder-brings-high-quality-audio-to-the-web/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Google Buzz Turns on the Firehose</title>
        <link>http://www.webmonkey.com/2010/07/google-buzz-turns-on-the-firehose/</link>
        <comments>http://www.webmonkey.com/2010/07/google-buzz-turns-on-the-firehose/#comments</comments>
        <pubDate>Tue, 20 Jul 2010 19:34:38 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48066</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Activity Streams]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Firehose]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Buzz]]></category>
		<category><![CDATA[PubSubHubbub]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/07/GoogleBuzz.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/GoogleBuzz.jpg" alt="Google Buzz Turns on the Firehose" /></div>Google has added a feature to its Buzz API that publishes every activity as it happens in a single feed. On the social web, this is commonly called a &#8220;Firehose&#8221; &#8212; a syndication feed that publishes all public activities as they happen in one big, fat stream. It&#8217;s a lot to sift through, but app [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/GoogleBuzz.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/GoogleBuzz.jpg" alt="" title="GoogleBuzz" width="200" /></a>Google has added a feature to its Buzz API that publishes every activity as it happens in a single feed.</p>
<p>On the social web, this is commonly called a &#8220;Firehose&#8221; &#8212; a syndication feed that publishes all public activities as they happen in one big, fat stream. It&#8217;s a lot to sift through, but app developers consider a firehose essential for incorporating real-time search results and real-time &#8220;trending&#8221; lists from a particular social service into their creations.</p>
<p><a href="http://www.google.com/buzz">Google Buzz</a>, the company&#8217;s answer to Twitter and other real-time social sharing services, <a href="http://www.webmonkey.com/2010/02/google_launches_buzz__its_new_social_media_sharing_platform/">launched in February</a>, and <a href="http://www.webmonkey.com/2010/05/google-opens-up-the-buzz-api/">the API was opened up</a> to the public in May. The <a href="http://googlecode.blogspot.com/2010/07/new-google-buzz-api-features-including.html">firehose was made available</a> late Monday, and it publishes everything Buzz users are sharing (except for Twitter tweets). Google says it&#8217;s Buzz developers&#8217; most-requested feature. Previously, you could run searches on Google Buzz activity, but there was no way to subscribe to a feed that publishes what everyone on Buzz is talking about or sharing at any given moment with very low latency.</p>
<p>Some Google partners were involved in the launch, and they&#8217;ve prepped some apps to show off what the firehose can do. Have a look at <a href="http://buzz-mood.appspot.com/">Buzz Mood</a>, an app (obviously inspired by our old Twitter favorite <a href="http://twistori.com/">Twistori</a>) that tracks emotional keywords like &#8220;love,&#8221; &#8220;hate,&#8221; &#8220;believe,&#8221; and &#8220;hope,&#8221; showing you the most recent posts containing those words in a constantly refreshing stream.</p>
<p>Also check out <a href="http://gnip.com/lp/buzz-firehose.html">Gnip</a>, the social aggregation service that collects user activities from Twitter, MySpace, Buzz, Facebook, Digg and over 100 social sites. Gnip republishes all these feeds in multiple formats and combinations, and it makes everything &#8212; now including the Buzz firehose &#8212; available to its customers via <a href="http://gnip.com/">its own API</a>.</p>
<p>All of the public activities in Google Buzz are published through the firehose using <a href="http://code.google.com/p/pubsubhubbub/">PubSubHubbub</a>, a protocol that&#8217;s being widely adopted on the social web. PubSubHubbub, which was created inside Google and is now being developed into an open standard, pushes out updates to apps as they happen. It replaces the old model &#8212; one that&#8217;s been the standard for many years &#8212; where an application repeatedly asks the publishing server if there&#8217;s anything new.</p>
<p>PubSubHubbub is more efficient and provides the app with notifications the instant they happen. It&#8217;s not the only data format for real-time publishing: also have a look at <a href="http://rsscloud.org/">RSSCloud</a>.</p>
<p>Google is turning on some other API features as well, including a comments feed for comments left by each user, and a similar feed for &#8220;likes&#8221; made by each user.</p>
<p>Google is using <a href="http://activitystrea.ms/">Activity Streams</a>, another emerging standard on the social web, to wrap all of the activity data. The AML-based Activity Streams format allows for notifications of things like comments, likes, and favorites. So, subscribe to the Google Buzz feed for so-and-so, and you&#8217;ll not only be notified that so-and-so posted a video, but also that his friend liked that video, or that an hour later, somebody else left a comment about it.</p>
<p>Everything is outlined in the <a href="http://code.google.com/apis/buzz/docs/">Google Buzz API docs</a>. You can also ask a question or search for answers in the <a href="http://code.google.com/apis/buzz/forum.html">Buzz developer forum</a>.</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/02/hands_on_with_google_buzz_-_it_s_a_stream_in_your_inbox/">Hands On With Google Buzz – It&#8217;s a Stream in Your Inbox</a></li>
<li><a href="http://www.webmonkey.com/2010/05/google-opens-up-the-buzz-api/">Google Opens Up the Buzz API</a></li>
<li><a href="http://www.webmonkey.com/2010/05/google-buzz-gets-a-retweet-feature/">Google Buzz Gets a &#8216;Retweet&#8217; Feature</a></li>
<li><a href="http://www.webmonkey.com/2008/04/twistori_a_microblogging_microscope/">Twistori, A Microblogging Microscope</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/07/google-buzz-turns-on-the-firehose/feed/</wfw:commentRss>
        <slash:comments>4</slash:comments>

        
    </item>
    
    <item>
        <title>Google Moderator API Lets Your Apps Ask Questions</title>
        <link>http://www.webmonkey.com/2010/05/google-moderator-api-lets-your-apps-ask-questions/</link>
        <comments>http://www.webmonkey.com/2010/05/google-moderator-api-lets-your-apps-ask-questions/#comments</comments>
        <pubDate>Wed, 12 May 2010 17:35:45 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47383</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[moderator]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/05/moderatorandroid.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/05/moderatorandroid.jpg" alt="Google Moderator API Lets Your Apps Ask Questions" /></div>Google has announced a new API that lets third party code tap into the company&#8217;s Moderator service. Google Moderator is designed to help collect questions from users &#8212; questions for live speakers from meetings, conferences, Q&#38;A sessions and the like. The new Moderator API allows outside apps to access, update, and participate in Google Moderator [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2010/05/moderatorandroid.jpg" alt="moderatorandroid" title="moderatorandroid" width="155" height="230" class="alignleft size-full wp-image-47384" />Google has announced a new API that lets third party code tap into the company&#8217;s Moderator service. Google Moderator is designed to help collect questions from users &#8212; questions for live speakers from meetings, conferences, Q&amp;A sessions and the like.</p>
<p>The <a href="http://googlecode.blogspot.com/2010/05/announcing-google-moderators-api.html">new Moderator API</a> allows outside apps to access, update, and participate in Google Moderator through custom interfaces. </p>
<p>For the launch, Google showcased <a href="http://code.google.com/events/io/2010/wave.html">a gadget for Google Wave</a> that will be available at the upcoming <a href="http://code.google.com/events/io/2010/">Google I/O conference</a>, allowing attendees to ask questions. A Google engineer also developed a <a href="http://code.google.com/p/android-moderator/">Moderator app for Android</a> and there&#8217;s also a cool <a href="http://google-moderator-api-samples.googlecode.com/hg/samples/web/map/index.html">Maps mashup</a> that plots questions for the White House on a Google Map.</p>
<p>The API offers hooks into standard Moderator events, allowing third party apps to create new Moderator topics, ask questions and cast votes on behalf of the currently authenticated user. Even better for conference organizers and speakers on stage, the API allows apps to aggregate votes, making it easier figure out which questions are most important to your audience.</p>
<p>If you&#8217;d like to know more, head over to Google Moderator&#8217;s new API page where you&#8217;ll find the full details on the new API along with some <a href="http://code.google.com/p/google-moderator-api-samples/">sample applications</a>.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2009/04/api_gives_developers_keys_to_google_analytics/">API Gives Developers Keys to Google Analytics</a></li>
<li><a href="http://www.webmonkey.com/2008/03/new_google_contacts_api_taps_your_gmail_address_book/">New Google Contacts API Taps Your Gmail Address Book</a></li>
<li><a href="http://www.webmonkey.com/2010/02/make_maps_with_google/">Using the Google Maps API</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/05/google-moderator-api-lets-your-apps-ask-questions/feed/</wfw:commentRss>
        <slash:comments>11</slash:comments>

        
    </item>
    
    <item>
        <title>Dropbox API Lets You Add Cloud Storage to Your Apps</title>
        <link>http://www.webmonkey.com/2010/05/dropbox-api-lets-you-add-cloud-storage-to-your-apps/</link>
        <comments>http://www.webmonkey.com/2010/05/dropbox-api-lets-you-add-cloud-storage-to-your-apps/#comments</comments>
        <pubDate>Fri, 07 May 2010 17:02:49 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47339</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/05/dropbox.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/05/dropbox.jpg" alt="Dropbox API Lets You Add Cloud Storage to Your Apps" /></div>Dropbox, the free, web-based file backup service, has rolled out a new API that gives developers a way to access, edit and save any file in a user&#8217;s Dropbox account. The Dropbox API works a bit like an Amazon S3 storage bucket except that you, not the application in question, have control over your uploaded [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2010/05/dropbox.jpg" alt="dropbox" title="dropbox" width="273" height="100" class="alignleft size-full wp-image-47338" />Dropbox, the free, web-based file backup service, has rolled out a new API that gives developers a way to <a href="http://blog.dropbox.com/?p=492">access, edit and save any file in a user&#8217;s Dropbox account</a>. </p>
<p>The <a href="https://www.dropbox.com/developers">Dropbox API</a> works a bit like an Amazon S3 storage bucket except that you, not the application in question, have control over your uploaded files.</p>
<p>The Dropbox API uses familiar tools like JSON, OAuth and OpenID, so web developers can essentially offload their user&#8217;s storage needs to Dropbox. For users, the usual risks of tying your web app to a cloud storage mechanism are mitigated by the fact that Dropbox keeps a local copy on your hard drive.</p>
<p>While the potential for integration with web apps is very cool &#8212; imagine if all your Flickr uploads automatically synced to the Dropbox folder on your hard drive for an instant backup &#8212; the first place you&#8217;ll likely see the Dropbox API in action is on mobile devices.</p>
<p>Storage limitations and, in the case of the iPhone/iPad, Apple&#8217;s imposed restrictions, mean that it&#8217;s difficult to build mobile apps that can access local files, let alone read, write and sync.</p>
<p>That&#8217;s the basic problem the Dropbox API seeks to overcome &#8212; using the Dropbox API means there&#8217;s no need for local files on your mobile device and everything is automatically synced back to your PC. The only catch is that you need an internet connection for the syncing to work.</p>
<p>Dropbox has already worked with a number of developers to integrate the new API prior to the launch. For example, Air Sharing, GoodReader and QuickOffice can now tap into your Dropbox account to edit and sync your Dropbox files. The new API ships with client libraries in Objective-C (pretty much required for the iPhone/iPad), Python, Ruby and Java. To create an application you&#8217;ll need to <a href="https://www.dropbox.com/developers">register with Dropbox</a> and then, once you have access, you can grab the client library of your choice and check out the online documentation.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2009/11/google_drops_the_price_of_online_storage__paves_the_way_for_a_cheap_cloud-based_os/">Google Cuts Online Storage Pricing, Fuels Anticipation for Cheap Cloud-Based OS</a></li>
<li><a href="http://www.webmonkey.com/2008/09/dropbox_file_backup_service_adds_linux_support/">Dropbox Backup Service Adds Linux Support</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/05/dropbox-api-lets-you-add-cloud-storage-to-your-apps/feed/</wfw:commentRss>
        <slash:comments>14</slash:comments>

        
    </item>
    
    <item>
        <title>API</title>
        <link>http://www.webmonkey.com/2010/02/api/</link>
        <comments>http://www.webmonkey.com/2010/02/api/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=35</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[The application program interface (API) is a set of building blocks for programmers. APIs are made up of routines, protocols, and tools. Most operating environments provide an API so that programmers can write applications consistent with that environment. For example, developing software using the Windows API ensures that your user interface will be consistent with [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>The application program interface (API) is a set of building blocks for programmers.

</p><p>APIs are made up of <a href="/2010/02/Routines" title="Reference:Routines">routines</a>, <a href="/2010/02/Protocols" class="new" title="Reference:Protocols">protocols</a>, and tools. Most operating environments provide an API so that programmers can write applications consistent with that environment. For example, developing software using the Windows API ensures that your user interface will be consistent with other Windows applications, making it easier for users to learn your new programs.

</p>

<a name="Use_on_the_Web"></a><h2> <span class="mw-headline">Use on the Web</span></h2>

<p>Web APIs provide simple ways to interact with websites. Using an API, you can extract public data from sites like del.icio.us, Flickr and Digg to create mashups, reuse data or just about anything else you can imagine.



</p><p>APIs are also useful for extracting your own private data from a web service so that you can back it up elsewhere or display it on another site.

</p><p>When talking about APIs you&#8217;ll here the following terms quite a bit.

</p>

<a name="Common_Web_API_Related_Terms"></a><h3> <span class="mw-headline">Common Web API Related Terms</span></h3>

<ul><li> <b>Web service/API</b> &#8212; These terms are largely interchangeable and simple refer to the ways you can interact with the data on your favorite websites.

</li></ul>

<ul><li> <b>Method</b> &#8212; A method is just one aspect of an API; you might also see methods refered to a functions. For instance, if you&#8217;re interacting with Flickr, you might want to get your public photos. To do so you would use the get_user_photos method.

</li></ul>

<ul><li> <b>Response</b> &#8212; The information returned by the API method that you&#8217;ve called.



</li></ul>

<ul><li> <b>REST</b> &#8212; Short for Representational State Transfer. REST treats data as a web document that lives at a specific URL. REST APIs use standard HTTP requests such as GET, PUT, HEAD, DELETE and POST to interact with data.

</li></ul>

<ul><li> <b>XML-RPC</b> &#8212; This older API scheme formats method calls and responses as XML documents which are sent over HTTP.

</li></ul>

<ul><li> <b>SOAP</b> &#8212; Simple Object Access Protocol. A W3C standard for passing messages across the network. SOAP is the successor to XML-RPC. It&#8217;s complexity has led many to disparage SOAP and with more APIs leaning toward REST, SOAP&#8217;s future is uncertain.

</li></ul>

<ul><li> <b>Ajax</b> &#8212; Asynchronous JavaScript and XML. Technically it has nothing to do with APIs, however many sites using APIs send their queries out using Ajax which is partially responsible for the popularity of JSON.



</li></ul>

<ul><li> <b>JSON</b> &#8212; JavaScript Object Notation. JSON&#8217;s main advantage is that it is easy to convert from JSON to nearly any other programming language. JSON uses key-value pairs and arrays, something common to PHP, Python, Perl, Ruby and most other languages. The portability of JSON has made it an increasingly popular choice for sites developing APIs.

</li></ul>

<p><br />

</p>

<a name="Popular_Web_APIs"></a><h2> <span class="mw-headline">Popular Web APIs</span></h2>

<ul><li> <a href="http://www.google.com/apis/maps/" class="external text" title="http://www.google.com/apis/maps/" rel="nofollow">Google Maps</a>

</li><li> <a href="http://developer.yahoo.com/maps/" class="external text" title="http://developer.yahoo.com/maps/" rel="nofollow">Yahoo Maps</a>



</li><li> <a href="http://www.flickr.com/services/api/" class="external text" title="http://www.flickr.com/services/api/" rel="nofollow">Flickr</a>

</li><li> <a href="http://code.google.com/apis/youtube/overview.html" class="external text" title="http://code.google.com/apis/youtube/overview.html" rel="nofollow">YouTube</a>

</li><li> <a href="http://del.icio.us/help/api/" class="external text" title="http://del.icio.us/help/api/" rel="nofollow">del.icio.us</a>

</li><li> <a href="http://wiki.ma.gnolia.com/Ma.gnolia_API" class="external text" title="http://wiki.ma.gnolia.com/Ma.gnolia_API" rel="nofollow">Ma.gnolia</a>

</li><li> <a href="http://twitter.com/help/api" class="external text" title="http://twitter.com/help/api" rel="nofollow">Twitter</a>

</li><li> <a href="http://www.yelp.com/developers/documentation/search_api" class="external text" title="http://www.yelp.com/developers/documentation/search_api" rel="nofollow">Yelp</a>



</li><li> <a href="http://openid.net/" class="external text" title="http://openid.net/" rel="nofollow">OpenID</a>

</li><li> <a href="http://www.amazonws.com/" class="external text" title="http://www.amazonws.com/" rel="nofollow">Amazon S3</a>

</li><li> <a href="http://atomenabled.org/" class="external text" title="http://atomenabled.org/" rel="nofollow">AtomAPI</a>

</li><li> <a href="http://meta.wikimedia.org/wiki/API" class="external text" title="http://meta.wikimedia.org/wiki/API" rel="nofollow">MediaWiki API</a>

</li><li> <a href="http://api.vzaar.com/" class="external text" title="http://api.vzaar.com/" rel="nofollow">vzaar API</a><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/api/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Platform</title>
        <link>http://www.webmonkey.com/2010/02/platform/</link>
        <comments>http://www.webmonkey.com/2010/02/platform/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=280</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[Software developers need to know which platform their software will be running on. A platform can be an Intel processor running Windows, a Macintosh running System 8, or any combination of hardware and software that works together. Platforms are important for web designers to understand, because they need to make sure their pages will work [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p><br />

Software developers need to know which platform their software will be running on. A platform can be an Intel processor running Windows, a Macintosh running System 8, or any combination of hardware and software that works together. Platforms are important for web designers to understand, because they need to make sure their pages will work on more than one platform. Different browsers display web pages differently on various platforms. Since the internet itself is a cross-platform system, designers need to test web pages on different combinations of machines and browsers to ensure the widest possible audience will be able to view their sites.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/platform/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Yahoo Maps API</title>
        <link>http://www.webmonkey.com/2010/02/yahoo_maps_api/</link>
        <comments>http://www.webmonkey.com/2010/02/yahoo_maps_api/#comments</comments>
        <pubDate>Tue, 16 Feb 2010 01:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=445</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Location]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[Yahoo]]></category>
        <description><![CDATA[This is the basic structure of a data call to Yahoo Maps&#8217; API. This will draw a 500px by 300px map centered on Wired&#8217;s San Francisco offices, complete with zoom and pan controls. When the user clicks on the location marker, a pop-up box will appear with some text inside. All of these attributes can [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>This is the basic structure of a data call to Yahoo Maps&#8217; API. This will draw a 500px by 300px map centered on Wired&#8217;s San Francisco offices, complete with zoom and pan controls. When the user clicks on the location marker, a pop-up box will appear with some text inside.

</p><p>All of these attributes can be changed by modifying the code below. You&#8217;ll need to use your own API key.

</p><p><br />
<span id="more-445"></span>
</p>

<pre class="brush: js">

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;

	&lt;head&gt;



		&lt;title&gt;My Yahoo Map&lt;/title&gt;

		&lt;script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.8&amp;appid=YOUR_API_KEY"&gt;&lt;/script&gt;

		&lt;style&gt;

		div#ymap {

			width: 500px;

			height: 300px;

		}

		&lt;/style&gt;



		&lt;script type="text/javascript"&gt;

		function initialize_ymap()

		{

			// Create a map object

			var map = new YMap(document.getElementById('ymap'));

			// Create latitude/longitude point

			var yPoint = new YGeoPoint(37.780764,-122.395592);



			// Add map type control

			map.addTypeControl();

			// Default map to satellite (YAHOO_MAP_SAT) -- other opts: YAHOO_MAP_HYB, YAHOO_MAP_REG

			map.setMapType(YAHOO_MAP_SAT);



			// Add zoom control

			map.addZoomLong();

			// Add the pan control

			map.addPanControl();



			// Display the map centered on a geocoded location

			map.drawZoomAndCenter(yPoint, 6);



			// Create a new marker for an address

			var myMarker = new YMarker(yPoint);

			// Create some content to go inside the SmartWindow

			var myMarkerContent = "&lt;h2&gt;&lt;strong&gt;Wired HQ!&lt;/strong&gt;&lt;/h2&gt;&lt;p&gt;Home of Monkeys&lt;/p&gt;";

			// When the marker is clicked, show the SmartWindow

			YEvent.Capture(myMarker, EventsList.MouseClick,

				function() {

					myMarker.openSmartWindow(myMarkerContent);

				});



			// Add a label to the marker

			myMarker.addAutoExpand("Click for more!");



			// Put the marker on the map

			map.addOverlay(myMarker);



		}

		&lt;/script&gt;

	&lt;/head&gt;



	&lt;body onload="initialize_ymap()"&gt;

		&lt;h1&gt;My Yahoo! Map&lt;/h1&gt;

		&lt;div id="ymap"&gt;&lt;/div&gt;

	&lt;/body&gt;

&lt;/html&gt;





</pre><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/yahoo_maps_api/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    
    <item>
        <title>Using the Yahoo Maps API</title>
        <link>http://www.webmonkey.com/2010/02/get_started_with_the_yahoo_maps_api/</link>
        <comments>http://www.webmonkey.com/2010/02/get_started_with_the_yahoo_maps_api/#comments</comments>
        <pubDate>Tue, 16 Feb 2010 01:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=821</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Location]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[Yahoo]]></category>
        <description><![CDATA[Yahoo&#8217;s Maps API may not be as popular as Google&#8217;s mashup mainstay, but it has many of the same features. In some ways, it&#8217;s even easier to use than Google&#8217;s Maps API, so beginners getting started with API interaction might prefer Yahoo&#8217;s implementation. To get started working with Yahoo maps, we&#8217;ll simply create a map [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>Yahoo&#8217;s Maps API may not be as popular as Google&#8217;s mashup mainstay, but it has many of the same features. In some ways, it&#8217;s even easier to use than Google&#8217;s Maps API, so beginners getting started with API interaction might prefer Yahoo&#8217;s implementation.

</p><p>To get started working with Yahoo maps, we&#8217;ll simply create a map we can display on a web page, and then add a marker to denote a particular location.
</p><br />
<span id="more-821"></span>

<table id="toc" class="toc" summary="Contents"><tbody><tr><td><div id="toctitle"><h2>Contents</h2> </div>

<ol>

<li><a href="#What_you.27ll_need">What you&#8217;ll need</a></li>



<li><a href="#How_to_Proceed">How to Proceed</a>

<ol>

<li><a href="#Step_1:_Get_started">Step 1: Get started</a></li>

<li><a href="#Step_2:_Adding_in_the_Map">Step 2: Adding in the Map</a></li>

<li><a href="#Step_3:_Adding_Markers">Step 3: Adding Markers</a></li>



<li><a href="#Where_to_Go_From_Here">Where to Go From Here</a></li>

</ol>

</li>

<li><a href="#Further_Reading">Further Reading</a></li>

</ol>





</td></tr></tbody></table>

<!--more-->

<a name="What_you.27ll_need"></a><h2> <span class="mw-headline"> What you&#8217;ll need </span></h2>



<ul><li> Knowledge of JavaScript, CSS and HTML

</li><li> A Yahoo account

</li><li> <a href="http://developer.yahoo.com/wsregapp/" class="external text" title="http://developer.yahoo.com/wsregapp/" rel="nofollow">A Yahoo Application ID</a>. Yahoo will ask for some information from you, but the good news is you get an ID right away.

</li></ul>

<p><br />

</p>

<a name="How_to_Proceed"></a><h2> <span class="mw-headline">How to Proceed</span></h2>

<a name="Step_1:_Get_started"></a><h3> <span class="mw-headline">Step 1: Get started</span></h3>

<p>Before using the API, you&#8217;ll need a Yahoo account and an <a href="http://developer.yahoo.com/wsregapp/" class="external text" title="http://developer.yahoo.com/wsregapp/" rel="nofollow">Application ID</a>. Once you have your ID, create a file containing the following HTML:



</p>

<pre class="brush: js">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;

	&lt;head&gt;

		&lt;title&gt;My Yahoo Map&lt;/title&gt;

		&lt;script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.8&amp;appid=appidhere"&gt;&lt;/script&gt;

	&lt;/head&gt;

	&lt;body&gt;

		&lt;h1&gt;My Yahoo Map&lt;/h1&gt;

		&lt;div id="ymap"&gt;&lt;/div&gt;

	&lt;/body&gt;

&lt;/html&gt;

</pre>

<p>This code is enough to load the API, but we don&#8217;t have a map quite yet.

</p><p><br />

</p>

<a name="Step_2:_Adding_in_the_Map"></a><h3> <span class="mw-headline">Step 2: Adding in the Map</span></h3>

<p>To tell Yahoo how and where to add a map, we need to add some JavaScript between the head tags near the top of our HTML file. Try this function, <tt>initialize_ymap</tt>:

</p>

<pre class="brush: js">		&lt;script type="text/javascript"&gt;

		function initialize_ymap()

		{

			// Create a map object

			var map = new YMap(document.getElementById('ymap'));

			// Display the map centered on a geocoded location

			map.drawZoomAndCenter("San Francisco", 6);

		}

		&lt;/script&gt;
</pre>

<p><br />

Here, we tell Yahoo to use the element with the id &#8220;ymap&#8221; as our map. In the HTML code we created in step one, we included an empty div with the &#8220;ymap&#8221; id. In the second part of the script, we tell the map to center on San Francisco and zoom in.

</p><p>Finally, we need to call the initialize_ymap function. To do this, add an onload attribute to the body tag of your HTML document, like so:

</p>

<pre class="brush: js">	&lt;body onload="initialize_ymap()"&gt;

</pre>

<p>Reload the HTML file and you should see San Francisco. Yeah?

</p><p>Now would also be a fine time to change the shape of your map if you&#8217;d like. To do this, you just need to add a few style declarations for div#ymap in your CSS file, or add this code between your head tags:

</p>

<pre class="brush: js">		&lt;style&gt;

		div#ymap {

			width: 500px;

			height: 300px;

		}

		&lt;/style&gt;
</pre>

<p>Reload and now you should see San Francisco in widescreen. Fancy!

</p><p><br />

</p>

<a name="Step_3:_Adding_Markers"></a><h3> <span class="mw-headline">Step 3: Adding Markers</span></h3>

<p>The thing that makes using these maps better than using a plain old static image is the added spark you get from interactivity. To that end, let&#8217;s take this map up a notch by adding a clickable marker &#8212; one of those little flags that denotes a specific point on the map. Yahoo also lets you include information about the location inside an element called the SmartWindow. Your visitors will see the Ajax-powered SmartWindow pop up when they click on your marker.

</p><p>Placing a marker on your map will require adding some more JavaScript code to the <tt>initialize_ymap</tt> function. Add this bit after the drawZoomAndCenter line:

</p>

<pre class="brush: js">		// Create a new marker for an address

		var myMarker = new YMarker("520 3rd St, San Francisco, CA");

		// Create some content to go inside the SmartWindow

		var myMarkerContent = "&lt;h2&gt;&lt;strong&gt;Wired.com&lt;/strong&gt;&lt;/h2&gt;&lt;p&gt;Home of Monkeys&lt;/p&gt;";

		// When the marker is clicked, show the SmartWindow

		YEvent.Capture(myMarker, EventsList.MouseClick,

			function() {

				myMarker.openSmartWindow(myMarkerContent);

			});

		// Put the marker on the map

		map.addOverlay(myMarker);
</pre>

<p><br />

Reload your HTML file and now a little speech bubble icon should now be hovering above I-80 on the east side of San Francisco. Click it, and you&#8217;ll see the message inside a SmartWindow. You can even include HTML markup inside your SmartWindow.

</p><p>Now you&#8217;ve made huge strides toward being a Yahoo Maps API expert!

</p><p><br />

</p>

<a name="Where_to_Go_From_Here"></a><h3> <span class="mw-headline">Where to Go From Here</span></h3>

<p>There are many ways to improve your Yahoo Map. So far we have a very basic map, but here are a few more things you can do to make it a little sexier, complete with code.

</p><p>Add a short message to your marker when users hover their mouse over the icon. Add this code after the new YMarker line:

</p>

<pre class="brush: js">		// Add a label to the marker

		myMarker.addAutoExpand("Click for more!");

</pre>

<p><br />

Make your map zoomable and navigatable by adding some pre-made controls from Yahoo&#8217;s API. Add this after the new YMap line:



</p>

<pre class="brush: js">		// Add zoom control

		map.addZoomLong();

		// Add the pan control

		map.addPanControl();

</pre>

<p>Set your map to show satellite images, and provide a way for users to change the map type. Add this after the new YMap line:

</p>

<pre class="brush: js">		// Add map type control

		map.addTypeControl();

		// Default map to satellite (YAHOO_MAP_SAT) -- other opts: YAHOO_MAP_HYB, YAHOO_MAP_REG

		map.setMapType(YAHOO_MAP_SAT);

</pre>

<p>Yahoo&#8217;s API is pretty neat in that it lets you add maps and markers with only the name or address of the place. Without extra effort, Google uses latitude and longitude points, two numbers that refer to a geocode location for a spot on a map.

</p><p>Yahoo can use these numbers, too. The upside of using points is that, especially with many markers, your maps will load faster.

</p><p>To change our map to use points, add this line after the new YMap line:

</p>

<pre class="brush: js">		// Create latitude/longitude point

		var yPoint = new YGeoPoint(37.780764,-122.395592);

</pre>

<p>Then change the new YMarker and <tt>drawZoomAndCenter</tt> lines to reference the yPoint variable instead of the city or address:



</p>

<pre class="brush: js">		// Display the map centered on a geocoded location

		map.drawZoomAndCenter(yPoint, 6);

		// Create a new marker for an address

		var myMarker = new YMarker(yPoint);

</pre>

<p>Create custom image markers, draw lines on a map, or overlay local search results &#8212; it&#8217;s all outlined in <a href="http://developer.yahoo.com/maps/ajax/index.html" class="external text" title="http://developer.yahoo.com/maps/ajax/index.html" rel="nofollow">Yahoo&#8217;s documentation</a>.

</p>

<a name="Further_Reading"></a><h2> <span class="mw-headline">Further Reading</span></h2>

<p>You can grab all of the code used in this article from Webmonkey&#8217;s Code Library: <a href="/2010/02/Yahoo_Maps_API" title="CodeLibrary:Yahoo Maps API">Yahoo Maps API</a>

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/get_started_with_the_yahoo_maps_api/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    </channel>
</rss>