Finding stuff
on the web
using Yahoo!
BOSS
by Yash Dayal
http://www.flickr.com/photos/lazurite/3486691753/
Yahoo! BOSS
3
© Wikipedia
Yahoo! BOSS
4
BUILD your
OWN
SEARCH
SERVICE
An API interface, like a gateway to
our search data stores
5
http://www.flickr.com/photos/ianus/9033400968/
Build your own powerful
Search Applications
6
Why do you need to know BOSS?
7
BOSS allows you to
search
web, news
images and blogs
8
You can even Monetize your
applications using Search Ads
from BOSS
9
What can you customize?
Flexibility to Blend and Re-Rank Results
•  Create your own look and feel
•  Change Ranking
•  Mix with other API’s
10
11
12
How do I start hacking
with
Yahoo! BOSS ?
13
BOSS uses oAuth based
authentication
14
Get a free consumer key
and secret from
http://hackindiahyderabad.pbworks.com
15
The easiest way to test
stuff out is to use the YQL
Console
16
http://developer.yahoo.com/yql/console
1
2
Results
3
http://www.flickr.com/photos/tales2astonish/7650259628/
select * from boss.search where q=”Iron Man" and
service="images" and ck="..." and secret="..."
select * from boss.search
where q=”Iron Man"
and service="news” and ck="..." and secret="..."
select * from boss.search where q=”Iron Man" and
sites="imdb.com, movies.yahoo.com" and ck="..."
and secret="..."
You can check spellings and get
suggestions
26
Spell	
  Check	
  and	
  Correc/on	
  
select * from boss.search
where q=”Irin Man” and service="spelling" and
ck="..." and secret="..."
CONTENT ANALYSIS
http://www.flickr.com/photos/nasa_goddard/5188180370/
select * from contentanalysis.analyze where
text="Yahoo! kicks off OpenHack at
Hyderabad"
Content Analysis from a URL
select * from contentanalysis.analyze where
url="http://www.cnn.com/"
QueryCheatsheet Find images of “Iron Man”
select * from boss.search where q=”Iron Man" and
service="images" and ck="..." and secret="..."
Find reviews of “Iron Man”
select * from boss.search where q="reviews in title: Iron
Man" and service="web" and ck="..." and secret="…"
Search for Iron Man but not the movie:
select * from boss.search where q=”Iron Man -movie" and
ck="..." and secret="... "
Search pdfs of “Iron Man”
select * from boss.search where q=”Iron Man" and
type="pdf" and ck="..." and secret="..."
QueryCheatsheet Find all the news of “Iron Man”
select * from boss.search where q="Iron Man" and
service="news" and ck="..." and secret="..."
Get long abstracts in the results
select * from boss.search where q="Iron Man" and
abstract="long" and ck="..." and secret="…"
Retrieve 51-100 results of the query
select * from boss.search where q="Iron Man" and
start=51 and ck="..." and secret="... "
ALMOST BREAK
TIME….
www.duckduckgo.com
More Resources
Yahoo! BOSS: http://developer.yahoo.com/boss/
BOSS Search Technical Documentation:
http://developer.yahoo.com/boss/search/boss_api_guide/
BOSS Geo Technical Documentation: http://developer.yahoo.com/boss/geo/
YQL: http://developer.yahoo.com/yql
oAuth: http://oauth.net/
Open Social: http://www.opensocial.org/
Open Data: http://theinfo.org
Alt Search Engines: http://www.altsearchengines.com/
Thanks!!
http://flickr.com/photos/42788859@N00/318947873/

Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

  • 2.
    Finding stuff on theweb using Yahoo! BOSS by Yash Dayal http://www.flickr.com/photos/lazurite/3486691753/
  • 3.
  • 4.
  • 5.
    An API interface,like a gateway to our search data stores 5 http://www.flickr.com/photos/ianus/9033400968/
  • 6.
    Build your ownpowerful Search Applications 6
  • 7.
    Why do youneed to know BOSS? 7
  • 8.
    BOSS allows youto search web, news images and blogs 8
  • 9.
    You can evenMonetize your applications using Search Ads from BOSS 9
  • 10.
    What can youcustomize? Flexibility to Blend and Re-Rank Results •  Create your own look and feel •  Change Ranking •  Mix with other API’s 10
  • 11.
  • 12.
  • 13.
    How do Istart hacking with Yahoo! BOSS ? 13
  • 14.
    BOSS uses oAuthbased authentication 14
  • 15.
    Get a freeconsumer key and secret from http://hackindiahyderabad.pbworks.com 15
  • 16.
    The easiest wayto test stuff out is to use the YQL Console 16 http://developer.yahoo.com/yql/console
  • 19.
  • 21.
  • 23.
    select * fromboss.search where q=”Iron Man" and service="images" and ck="..." and secret="..."
  • 24.
    select * fromboss.search where q=”Iron Man" and service="news” and ck="..." and secret="..."
  • 25.
    select * fromboss.search where q=”Iron Man" and sites="imdb.com, movies.yahoo.com" and ck="..." and secret="..."
  • 26.
    You can checkspellings and get suggestions 26
  • 27.
    Spell  Check  and  Correc/on   select * from boss.search where q=”Irin Man” and service="spelling" and ck="..." and secret="..."
  • 28.
  • 30.
    select * fromcontentanalysis.analyze where text="Yahoo! kicks off OpenHack at Hyderabad"
  • 31.
    Content Analysis froma URL select * from contentanalysis.analyze where url="http://www.cnn.com/"
  • 32.
    QueryCheatsheet Find imagesof “Iron Man” select * from boss.search where q=”Iron Man" and service="images" and ck="..." and secret="..." Find reviews of “Iron Man” select * from boss.search where q="reviews in title: Iron Man" and service="web" and ck="..." and secret="…" Search for Iron Man but not the movie: select * from boss.search where q=”Iron Man -movie" and ck="..." and secret="... " Search pdfs of “Iron Man” select * from boss.search where q=”Iron Man" and type="pdf" and ck="..." and secret="..."
  • 33.
    QueryCheatsheet Find allthe news of “Iron Man” select * from boss.search where q="Iron Man" and service="news" and ck="..." and secret="..." Get long abstracts in the results select * from boss.search where q="Iron Man" and abstract="long" and ck="..." and secret="…" Retrieve 51-100 results of the query select * from boss.search where q="Iron Man" and start=51 and ck="..." and secret="... "
  • 34.
  • 35.
  • 37.
    More Resources Yahoo! BOSS:http://developer.yahoo.com/boss/ BOSS Search Technical Documentation: http://developer.yahoo.com/boss/search/boss_api_guide/ BOSS Geo Technical Documentation: http://developer.yahoo.com/boss/geo/ YQL: http://developer.yahoo.com/yql oAuth: http://oauth.net/ Open Social: http://www.opensocial.org/ Open Data: http://theinfo.org Alt Search Engines: http://www.altsearchengines.com/
  • 38.