SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Hacking with BOSS & CAP
Anitha Raju
Vertical Intent Search
anithar@yahoo-inc.com
Outline
Overview How to Hack –
Sample Queries
DEMO Understanding
Oauth
Hack Idea
Over
view
Overview
• Search and Infrastructure
– Access to diff types of data
– Build powerful commercial application
• Monetization
– Ads - $$$$
• Support
How to Hack –
Sample Queries
DEMO Understanding
Oauth
Hack Idea
Full Picture!
What kind of data
• RESTful XML and json data
– Web, Image, Video and many
many more ….
– Geo services – Place finder &
Place Spotter
Overview DEMO Understanding
Oauth
Hack Idea
• Blending and re-ranking
New look
Ranking change
Mix with other API’s
• Secure
Oauth based Authentication
How to Hack
Sample Queries
What else
• Web and limited web results
– Complex query combination
– Search from different market
• Images attributes
• Time Span – News
• Extended Abstracts
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
Geo Services
• Placefinder
– Understands location based on location coordinates and vice versa
• Placespotter
– Spots location from unstructured query
http://developer.yahoo.com/boss/geo/
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
CAP
• Detects data from unstructured query
– Entities/concepts
– Categories
– Relationships
– Wiki links
• YQL Table : contentanalysis.analyze
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
How to hack
Overview
How to Hack
Sample
Queries
Understanding
Oauth
Hack IdeaDEMO
Query
 Tells you what the user is looking for
 Powers secondary APIs
 Can be generated by a search box, URL, tags or keyword extraction from
the page.
 Generates related topics
 The Query is your BFF!
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
BOSS Sample calls
 Getting multiple data sets
 /ysearch/web,images,news?q=“marissa mayer”
 /ysearch/web,images,news?web.q=“marissa mayer”&images.q=“hacku”&news.q=“yahoo”
 Searching through sites
 A Simple Movie Search
 /ysearch/web?q=“Dark Knight Rises”&
sites=movies.yahoo.com,netflix.com,imdb.com
 AND/OR operators
 /ysearch/web?q="steve jobs"AND((ipad)OR(iphone))&sites=bestbuy.com,newegg.com
 Unary operators (+/-)
 /ysearch/web?q=+“heath ledger” –”dark knight”
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
Images
 Search for images that are not offensive
 /ysearch/images?q=“san francisco”&filter=yes
 Search for images that are wallpaper size
 /ysearch/images?q=“san francisco”&dimensions=wallpaper
Interesting Output Fields
- format, file size, height, width, title, total result count
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
News
 Search news that is less than 7 days old
/ysearch/news? q=osama&age=7d
Re-rank news results by date
/ysearch/news?q=osama&sort=date
Interesting Output Fields
Source, Date, Source URL
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack IdeaDEMO
Understand oAuth
Identification
• Consumer Key – Used to make a call to the API
• Consumer Secret – Used for 3 legged oAuth (not used for BOSS)
Making a call (www.oauth.net/code)
• Consumer Key
• Nonce – Random string generated by oAuth (prevents replay
attacks)
• Signature – Generated by library
• Signature Method – Various types of methods supported (e.g.
HMAC-SHA1)
• oAuth version – 1.0
Overview What type of
Data?
DEMO Understanding
Oauth
Hack Idea
We have code samples in
most languages on BOSS Site
DEMO
Overview How to Hack
Sample Queries
Understanding
Oauth
Hack Idea
DEMO
Hack Ideas
 RealTime
 Facebook API
 Mobile Applications
 Video
 YouTube data API
 Vertical search engines
 Programmable web has interesting API’s
 Local + Search
 Pull entities using Placespotter and
recognize relationships between content
 Chrome extensions
Overview What type of
Data?
How to Hack
Sample Queries
Understanding
Oauth
Hack
Idea
Links
• http://developer.yahoo.com/boss/search/
• http://developer.yahoo.com/boss/geo
• http://developer.yahoo.com/contentanalysis/

Weitere ähnliche Inhalte

Andere mochten auch (9)

Excursii 2
Excursii  2Excursii  2
Excursii 2
 
Excursii 3
Excursii  3Excursii  3
Excursii 3
 
Excursii
ExcursiiExcursii
Excursii
 
Corp de litera varianta noua ana maria pps salvat in 2003
Corp de litera varianta noua   ana maria pps salvat in 2003Corp de litera varianta noua   ana maria pps salvat in 2003
Corp de litera varianta noua ana maria pps salvat in 2003
 
Naşii
NaşiiNaşii
Naşii
 
1 m signatures petition
1 m signatures petition1 m signatures petition
1 m signatures petition
 
Donatia catre PRIMARIA MUNICIPIULUI BUCURESTI facuta de Victoria, Diana si Ge...
Donatia catre PRIMARIA MUNICIPIULUI BUCURESTI facuta de Victoria, Diana si Ge...Donatia catre PRIMARIA MUNICIPIULUI BUCURESTI facuta de Victoria, Diana si Ge...
Donatia catre PRIMARIA MUNICIPIULUI BUCURESTI facuta de Victoria, Diana si Ge...
 
สรุปโครงการ
สรุปโครงการสรุปโครงการ
สรุปโครงการ
 
Home, sweet home
Home, sweet homeHome, sweet home
Home, sweet home
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Hacking with boss & cap

  • 1. Hacking with BOSS & CAP Anitha Raju Vertical Intent Search anithar@yahoo-inc.com
  • 2. Outline Overview How to Hack – Sample Queries DEMO Understanding Oauth Hack Idea
  • 3. Over view Overview • Search and Infrastructure – Access to diff types of data – Build powerful commercial application • Monetization – Ads - $$$$ • Support How to Hack – Sample Queries DEMO Understanding Oauth Hack Idea
  • 5. What kind of data • RESTful XML and json data – Web, Image, Video and many many more …. – Geo services – Place finder & Place Spotter Overview DEMO Understanding Oauth Hack Idea • Blending and re-ranking New look Ranking change Mix with other API’s • Secure Oauth based Authentication How to Hack Sample Queries
  • 6. What else • Web and limited web results – Complex query combination – Search from different market • Images attributes • Time Span – News • Extended Abstracts Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 7. Geo Services • Placefinder – Understands location based on location coordinates and vice versa • Placespotter – Spots location from unstructured query http://developer.yahoo.com/boss/geo/ Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 8. CAP • Detects data from unstructured query – Entities/concepts – Categories – Relationships – Wiki links • YQL Table : contentanalysis.analyze Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 9. How to hack Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 10. Query  Tells you what the user is looking for  Powers secondary APIs  Can be generated by a search box, URL, tags or keyword extraction from the page.  Generates related topics  The Query is your BFF! Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 11. BOSS Sample calls  Getting multiple data sets  /ysearch/web,images,news?q=“marissa mayer”  /ysearch/web,images,news?web.q=“marissa mayer”&images.q=“hacku”&news.q=“yahoo”  Searching through sites  A Simple Movie Search  /ysearch/web?q=“Dark Knight Rises”& sites=movies.yahoo.com,netflix.com,imdb.com  AND/OR operators  /ysearch/web?q="steve jobs"AND((ipad)OR(iphone))&sites=bestbuy.com,newegg.com  Unary operators (+/-)  /ysearch/web?q=+“heath ledger” –”dark knight” Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 12. Images  Search for images that are not offensive  /ysearch/images?q=“san francisco”&filter=yes  Search for images that are wallpaper size  /ysearch/images?q=“san francisco”&dimensions=wallpaper Interesting Output Fields - format, file size, height, width, title, total result count Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 13. News  Search news that is less than 7 days old /ysearch/news? q=osama&age=7d Re-rank news results by date /ysearch/news?q=osama&sort=date Interesting Output Fields Source, Date, Source URL Overview How to Hack Sample Queries Understanding Oauth Hack IdeaDEMO
  • 14. Understand oAuth Identification • Consumer Key – Used to make a call to the API • Consumer Secret – Used for 3 legged oAuth (not used for BOSS) Making a call (www.oauth.net/code) • Consumer Key • Nonce – Random string generated by oAuth (prevents replay attacks) • Signature – Generated by library • Signature Method – Various types of methods supported (e.g. HMAC-SHA1) • oAuth version – 1.0 Overview What type of Data? DEMO Understanding Oauth Hack Idea We have code samples in most languages on BOSS Site
  • 15. DEMO Overview How to Hack Sample Queries Understanding Oauth Hack Idea DEMO
  • 16. Hack Ideas  RealTime  Facebook API  Mobile Applications  Video  YouTube data API  Vertical search engines  Programmable web has interesting API’s  Local + Search  Pull entities using Placespotter and recognize relationships between content  Chrome extensions Overview What type of Data? How to Hack Sample Queries Understanding Oauth Hack Idea