yahoo! hack india: hyderabad 2013 | boss and cap

38

Upload: yahoo-developer-network

Post on 26-Jan-2015

109 views

Category:

Technology


2 download

DESCRIPTION

Yash Dayal sharing about Boss and Cap

TRANSCRIPT

Page 1: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 2: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Finding stuff on the web using Yahoo! BOSS

by Yash Dayal

htt

p:/

/ww

w.fl

ickr

.co

m/p

ho

tos/

lazu

rite

/348

6691

753/

Page 3: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Yahoo! BOSS

3

© Wikipedia

Page 4: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Yahoo! BOSS

4

BUILD your

OWN

SEARCH

SERVICE

Page 5: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

An API interface, like a gateway to our search data stores

5

http://www.flickr.com/photos/ianus/9033400968/

Page 6: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Build your own powerful Search Applications

6

Page 7: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Why do you need to know BOSS?

7

Page 8: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

BOSS allows you to search

web, news images and blogs

8

Page 9: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

You can even Monetize your applications using Search Ads

from BOSS

9

Page 10: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

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

Page 11: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

11

Page 12: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

12

Page 13: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

How do I start hacking with

Yahoo! BOSS ?

13

Page 14: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

BOSS uses oAuth based authentication

14

Page 15: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Get a free consumer key and secret from

http://hackindiahyderabad.pbworks.com

15

Page 16: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

The easiest way to test stuff out is to use the YQL

Console

16

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

Page 17: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 18: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 19: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

1

2

Results

3

Page 20: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 21: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

http://www.flickr.com/photos/tales2astonish/7650259628/

Page 22: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 23: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

select * from boss.search where q=”Iron Man" and service="images" and ck="..." and secret="..."

Page 24: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

select * from boss.search where q=”Iron Man"

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

Page 25: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

select * from boss.search where q=”Iron Man" and sites="imdb.com, movies.yahoo.com" and ck="..."

and secret="..."

Page 26: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

You can check spellings and get suggestions

26

Page 27: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Spell  Check  and  Correc/on  select * from boss.search

where q=”Irin Man” and service="spelling" and ck="..." and secret="..."

Page 28: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

CONTENT ANALYSIS

http://www.flickr.com/photos/nasa_goddard/5188180370/

Page 29: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 30: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

select * from contentanalysis.analyze where text="Yahoo! kicks off OpenHack at

Hyderabad"

Page 31: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Content Analysis from a URL

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

Page 32: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Que

ry C

heat

shee

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

Page 33: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Que

ry C

heat

shee

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

Page 34: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

ALMOST BREAK TIME….

Page 35: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

www.duckduckgo.com

Page 36: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap
Page 37: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

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/

Page 38: Yahoo! Hack India: Hyderabad 2013 | Boss and Cap

Thanks!!

http://flickr.com/photos/42788859@N00/318947873/