boss and geo

28
Let’s BOSS search and geo http://developer.yahoo.com/search/boss/

Upload: mambo91

Post on 05-Dec-2014

471 views

Category:

Technology


3 download

DESCRIPTION

HackU IITM

TRANSCRIPT

Page 1: Boss and Geo

Let’s BOSS

search and geo

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

Page 2: Boss and Geo

BOSS is Build your own search service

Page 3: Boss and Geo

Provides APIs To our Search

database

Page 4: Boss and Geo

TO BUILD your own powerful

Search applications

Page 5: Boss and Geo

BOSS allows you to search over

Web, images, news & Blogs

Page 6: Boss and Geo
Page 7: Boss and Geo

BOSS Pricing

Page 8: Boss and Geo

Free for building your hacks!!

Page 9: Boss and Geo

BOSS uses OAuth for security

Code : https://github.com/sourind/hacku/

Page 10: Boss and Geo

Get a FREE consumer key and

secret

http://hackyourworld.org/hacku/

Page 11: Boss and Geo

http://developer.yahoo.com/yql/console/

Page 12: Boss and Geo
Page 13: Boss and Geo

3. Copy This url

1. Select yql query 2. Select output format

Page 14: Boss and Geo
Page 15: Boss and Geo

Finding images of “The Dark Knight Rises”

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

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

Page 16: Boss and Geo

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="..."

Page 17: Boss and Geo

Spell Check and Correction select * from boss.search where q="The Dirk

Knight Rises" and service="spelling" and ck="..." and secret="..."

Page 18: Boss and Geo

Finding news on “The Dark Knight Rises”

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

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

Page 19: Boss and Geo

Lets See it in Action!

Page 20: Boss and Geo

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="..."

Page 21: Boss and Geo

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="... "

Page 22: Boss and Geo

EXAMPLES

Page 23: Boss and Geo

duckduckgo.com

Page 24: Boss and Geo
Page 25: Boss and Geo

GEO

Page 26: Boss and Geo

Time Traveler

Paper: Automatic Construction of Travel Itineraries using Social Breadcrumbs

Page 27: Boss and Geo

Geo Examples •  Geoplanet: http://y.ahoo.it/164Q9

Select * from geo.places where text="sfo”

•  PlaceFinder: http://yhoo.it/VNvKqV Select * from google.geocoding where q="40.714224,-73.961452”

•  PlaceSpotter: http://y.ahoo.it/HmOeY

Infer location from IP & Content

•  Get flickr images of Kolkata, searching by geo http://y.ahoo.it/3byUF

Page 28: Boss and Geo

Resources •  Yahoo! BOSS api

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

•  Oauth sample code https://github.com/sourind/hacku/

•  Consumer key and secret hackyourworld.org/hacku/