technical introduction to ydn
DESCRIPTION
My overview over some of the APIs offered by the Yahoo Developer Network in Grenoble, France.TRANSCRIPT
A Tech intro to YDN
Christian Heilmann, Grenoble, December 2008
http://scriptingenabled.org | http://wait-till-i.com | http://twitter.com/codepo8
The Yahoo Developer Network is the central source of everything Yahoo does to
make developers happy!
I am now going to talk about just a few things we offer
there.
We have Web Services and APIS for almost all our offers.
They all work pretty similar:
First, get an AppID!
https://developer.yahoo.com/wsregapp/
Construct a REST call:http://answers.yahooapis.com/
AnswersService/
Construct a REST call:http://answers.yahooapis.com/
AnswersService/V1/
Construct a REST call:http://answers.yahooapis.com/
AnswersService/V1/questionSearch?
Construct a REST call:http://answers.yahooapis.com/
AnswersService/V1/questionSearch?query=asterix
Construct a REST call:http://answers.yahooapis.com/
AnswersService/V1/questionSearch?query=asterix®ion=fr&lang=fr
Construct a REST call:http://answers.yahooapis.com/
AnswersService/V1/questionSearch?query=asterix®ion=fr&lang=fr&a
ppid={yourappid}
Output formats:
XML, RSS, JSON, PHP
What if you need to mix and match and filter data?
https://pipes.yahoo.com/
https://pipes.yahoo.com/
http://developer.yahoo.com/yql/console/
Getting the data is one step.
Displaying it in a manner useful for end users another.
This is why we share what worked for us with you.
http://developer.yahoo.com/ypatterns
And we have a framework of HTML/CSS that works for us
and can be used by you.
Front Page Yahoo! Search Flickr
My Yahoo Yahoo Search for iPhone/Mobile
Upcoming
Yahoo Sports Yahoo/Eurosport Delicious
Yahoo News Yahoo Maps Yahoo Live
Yahoo Finance Yahoo Local Yahoo Pipes
Yahoo Mail SDS Shine
Metro (Next Home Page)
Yahoo Bugzilla Yahoo Buzz
YAP Yahoo Answers HotJobs
http://developer.yahoo.com/yui/
http://yuiblog.com
http://developer.yahoo.com/yui/grids/builder/
http://ui.jquery.com/
http://ui.jquery.com
(function() { var myConfig = { height: '300px', width: '600px', dompath: true, focusAtStart: true }; var myEditor = new YAHOO.widget.SimpleEditor('editor', myConfig); myEditor.render();})();
Cool, but isn’t using other people’s stuff a lot of extra code and slows you down?
Exceptional Performance Tips:http://developer.yahoo.com/performance/
http://developer.yahoo.com/yslow/
What if someone asks you to build a specialist search?
You could buy databases and build an interface and get
servers to host and index the search...
Or you could use BOSS.
http://developer.yahoo.com/search/boss/
http://icant.co.uk/sandbox/unsafe.html
http://veosearch.com
Say you want to help your clients find good keywords to promote their product online.
You can do some research, surf all the competitors’ sites
and note down the descriptions, keywords and
titles.
Or you can keep your eyes open and check if there is an
API for that.
http://boss.yahooapis.com/ysearch/web/v1/donkeys?format=xml&appid=...
http://boss.yahooapis.com/ysearch/web/v1/donkeys?format=xml&view=keyterms&appid=...
All you need to do is getting the top 20, analyzing the keyword frequency and
create a top 20.
http://developer.yahoo.net/blog/archives/2008/11/boss_keywords.html
Then you take YUI CSS grids, and spend 30 minutes playing
with colours and fonts.
Flickr is another classic case of improving a product.
http://www.flickr.com/photos/tags/grenoble/
Cliquez ici, SVP!
http://api.flickr.com/services/feeds/photos_public.gne?tags=grenoble&lang=fr-
fr&format=atom
http://api.flickr.com/services/feeds/photos_public.gne?tags=grenoble&lang=fr-
fr&format=json
http://api.flickr.com/services/feeds/photos_public.gne?tags=grenoble&lang=fr-
fr&format=json&jsoncallback=voila
Christian Heilmann
http://scriptingenabled.org | http://wait-till-i.com
twitter/flickr: codepo8
THANKS!