Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

YouTube Gets Local With API Update

YouTubeYouTube announced V2 of its API, and with it the option to search based on location. Users uploading videos have been able to add geotags for over a year, and they’ve been viewable by location in Google Earth for almost as long. There hasn’t been a way for others to access the location data until now.

Using the API, you can now search videos by location, or a combination of location and a search term. For example, here is an XML result of videos containing the term “internet” within five miles of Wired’s offices.

To implement location search, there are two new parameters, location and location-radius, in the search API. You can find out more in the YouTube API reference.

YouTube also added versioning to its API, and dubbed this new release version 2. Providing the option to bake the version number into API calls means that applications written on top of the API shouldn’t break. Though the YouTube API will move forward, code you write today should still work. In other words, YouTube is preparing for backwards compatibility.

If you’ve written something using the previous YouTube API, you probably ought to toss v=1 into the parameters. On the other hand, if you’re new to all this, check out our YouTube Data API tutorial.

See also:

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year