boss around the web

Post on 22-Nov-2014

1.413 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Slides of the talk on using BOSS and Content Analysis APIs for searching data on the Web given at the HackU event at IIT Bombay.

TRANSCRIPT

Saurabh Sahni YDN Developer, Hacker, Evangelist

BOSS AROUND THE WEB

Jai SanthoshYDN Engineer, Hacker

http://twitter.com/jaisanthhttp://www.flickr.com/photos/sumrow/1267682594/sizes/l/

BOSS IS BUILD YOUR OWN SEARCH SERVICE

http://developer.yahoo.com/search/boss/

PROVIDES APIS

TO OUR SEARCHDATA STORES

TO BUILD YOUR OWNPOWERFUL

SEARCH APPLICATIONS

BOSS allows you to search over

Web, images, news & Blogs

You can even monetize yourapplications using Search Ads

from BOSS

What can be done on top of BOSS?• Blend and re-rank search results

• Your own look and feel

• Mix it with other APIs

BOSS Pricing

Free for build your hacks!!

Where do I start?

BOSS uses OAuth for security

Get a FREE consumer key and secret

http://hackyourworld.org/hacku/

Searching “The Dark Knight Rises”

Finding images of “The Dark Knight Rises”

select * from boss.search where q="The Dark Knight Rises" and service="images" and

ck="..." and secret="..."

Finding “The Dark Knight Rises” in IMDB, movies.yahoo.com

select * from boss.search where q="The Dark Knight Rises" and

sites="imdb.com,movies.yahoo.com" and ck="..." and secret="..."

Spell Check and Correction

select * from boss.search where q="The Dark Knight Rises" and service="spelling" and

ck="..." and secret="..."

Finding news on “The Dark Knight Rises”

select * from boss.search where q="The Dark Knight Rises" and service="news" and ck="..."

and secret="..."

Content Analysis

select * from contentanalysis.analyze where text="Yahoo! kicks off HackU at IIT Bombay"

Content Analysis from a URL

select * from contentanalysis.analyze where url="http://www.cnn.com/"

Lets See it in Action!

Query Cheatsheet• Find images of “The Dark Knight Rises”• select * from boss.search where q="The Dark Knight Rises" and

service="images" and ck="..." and secret="..."

• Find reviews of “The Dark Knight Rises”• select * from boss.search where q="reviews intitle:The Dark Knight

Rises" and service="web" and ck="..." and secret="…"

• Search for Avatar but not the movie: • select * from boss.search where q="Avatar -movie" and ck="..."

and secret="... "

• Search pdfs of “The Dark Knight Rises”• select * from boss.search where q="The Dark Knight Rises" and

type="pdf" and ck="..." and secret="..."

Query Cheatsheet• Find all the news of “The Dark Knight Rises”• select * from boss.search where q="The Dark Knight Rises" and

service="news" and ck="..." and secret="..."

• Get long abstracts in the results• select * from boss.search where q="The Dark Knight Rises" and

abstract="long" and ck="..." and secret="…"

• Retrieve 51-100 results of the query• select * from boss.search where q="The Dark Knight Rises" and

start=51 and ck="..." and secret="... "

EXAMPLES

duckduckgo.com

More Resources• Yahoo! BOSS: http://developer.yahoo.com/boss • BOSS Technical Documentation:

http://developer.yahoo.com/search/boss/boss_api_guide/

• YQL: http://developer.yahoo.com/yql • Google App Engine: http: //appengine.google.com • Amazon Web Services: http://aws.amazon.com • oAuth: http://oauth.net/ • Open Social: http://www.opensocial.org/ • Open Data: http://theinfo.org • Alt Search Engines: http://www.altsearchengines.com/

Questions??http://www.flickr.com/photos/reem_unique/4119729692/

• http://slideshare.net/jaisanth

• http://twitter.com/jaisanth

• https://github.com/jaisanth/

Thanks!!

top related