boss and geo
DESCRIPTION
HackU IITMTRANSCRIPT
Let’s BOSS
search and geo
http://developer.yahoo.com/search/boss/
BOSS is Build your own search service
Provides APIs To our Search
database
TO BUILD your own powerful
Search applications
BOSS allows you to search over
Web, images, news & Blogs
BOSS Pricing
Free for building your hacks!!
BOSS uses OAuth for security
Code : https://github.com/sourind/hacku/
Get a FREE consumer key and
secret
http://hackyourworld.org/hacku/
http://developer.yahoo.com/yql/console/
3. Copy This url
1. Select yql query 2. Select output format
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 Dirk
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="..."
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
GEO
Time Traveler
Paper: Automatic Construction of Travel Itineraries using Social Breadcrumbs
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
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/