SlideShare une entreprise Scribd logo
1  sur  12
Hacking BOSS

          Sudhir Reddy
        Hacker @Yahoo
BOSS … What ?
• BOSS = Build your Own Search Service
• Open Yahoo’s core search features via web services
  to let 3rd parties revolutionize Search
• Monetization - Ads Service : 3rd parties revenue
  share
• Pay per use model. Don’t worry will give you free
  access for hacking 


    “BOSS is a data API. It’s not a search API”
            - Vik Singh, BOSS Architect
BOSS Details
•   REST based API.
•   XML or JSON output
•   Web, News, Image, SiteSearch, and Spelling
    Suggestion services
•   Time span filtering for News Search
•   Image attributes like height, width, etc
•   Document type filtering
•   Delicious Tags and Popularity
•   Keyterm extraction
•   Microformat and RDF data
•   Extended abstracts
•   Complex query combinations and filters
•   Search for data in different markets
•   Recognizes most search filters from Yahoo! and
    Google (backdoor hacks)
BOSS … Authentication ?
• OAUTH 1.0
• HTTP headers or GET params




• Self-serve sample code available
  – PHP: http://oauth.net/code
  – Perl: http://search.cpan.org/dist/Net-OAuth/
  – Ruby: https://gist.github.com/383159
  – C#:
    http://oauth.googlecode.com/svn/code/csharp/OAuth
    Base.cs
  – Java: http://code.google.com/p/oauth-signpost/
Boss APIs … Data Request ?
http://yboss.yahooapis.com/ysearch/{service,*}?q
  ={keywords}
http://yboss.yahooapis.com/ysearch/{service,*}ser
  vice1.q={keywords}&service2.q={keywords}




Arguments: service, q, start, count, market, format, callback, sites
Operators: And, Or, +(Include), -(Exclude)
What can I Hack ?




• Some Useful Data Sources to mashup:
  Y! Answers, Twitter, Youtube, Wolfram Alpha, Delicious,
    Flickr, Facebook, Wikipedia, Foursquare, Open Data,
    IMDB, Amazon, Netflix, Craigslist, TheInfo.org
  and more…
Previous Hack:
http://ask-boss.appspot.com
Previous Hack:
http://keywordfinder.org
Previous Hack: 4hoursearch.com
Inquisitor: Browser Extension
Resources
• Yahoo! BOSS: http://developer.yahoo.com/boss
• YQL: http://developer.yahoo.com/yql
• OAuth: http://developer.yahoo.com/oauth/
• YUI: http://developer.yahoo.com/yui/
• Everything@YDN :
  http://developer.yahoo.com/everything.html
• Google App Engine:
  http://appengine.google.com
• Amazon Web Services: http://aws.amazon.com
• Open Data: http://theinfo.org
Happy Hacking 

Contenu connexe

En vedette

K-Circle - April 2014 - Quiz of the Month - Written Round
K-Circle - April 2014 - Quiz of the Month - Written RoundK-Circle - April 2014 - Quiz of the Month - Written Round
K-Circle - April 2014 - Quiz of the Month - Written RoundWalnut Knowledge Solutions
 
K-Circle - April 2014 - Quiz of the Month - Sachin Ravi
K-Circle - April 2014 - Quiz of the Month - Sachin RaviK-Circle - April 2014 - Quiz of the Month - Sachin Ravi
K-Circle - April 2014 - Quiz of the Month - Sachin RaviWalnut Knowledge Solutions
 
MELA College Quiz - Antaragni IIT Kanpur 2015
MELA College Quiz - Antaragni IIT Kanpur 2015MELA College Quiz - Antaragni IIT Kanpur 2015
MELA College Quiz - Antaragni IIT Kanpur 2015Sreshth Shah
 
Mood Indigo General Quiz 2012 Final
Mood Indigo General Quiz 2012 Final Mood Indigo General Quiz 2012 Final
Mood Indigo General Quiz 2012 Final Ramanand J
 
College General Quiz @ Arcania ISBF
College General Quiz @ Arcania ISBFCollege General Quiz @ Arcania ISBF
College General Quiz @ Arcania ISBFSreshth Shah
 
IIT - Bombay - Open General Quiz 2.0 - Preliminary Round with Answers
IIT - Bombay - Open General Quiz 2.0 - Preliminary Round with AnswersIIT - Bombay - Open General Quiz 2.0 - Preliminary Round with Answers
IIT - Bombay - Open General Quiz 2.0 - Preliminary Round with AnswersWalnut Knowledge Solutions
 
IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...
IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...
IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...Walnut Knowledge Solutions
 
Freshers quiz 2015 at Jindal Global University, Sonepat
Freshers quiz 2015 at Jindal Global University, Sonepat Freshers quiz 2015 at Jindal Global University, Sonepat
Freshers quiz 2015 at Jindal Global University, Sonepat Sreshth Shah
 

En vedette (8)

K-Circle - April 2014 - Quiz of the Month - Written Round
K-Circle - April 2014 - Quiz of the Month - Written RoundK-Circle - April 2014 - Quiz of the Month - Written Round
K-Circle - April 2014 - Quiz of the Month - Written Round
 
K-Circle - April 2014 - Quiz of the Month - Sachin Ravi
K-Circle - April 2014 - Quiz of the Month - Sachin RaviK-Circle - April 2014 - Quiz of the Month - Sachin Ravi
K-Circle - April 2014 - Quiz of the Month - Sachin Ravi
 
MELA College Quiz - Antaragni IIT Kanpur 2015
MELA College Quiz - Antaragni IIT Kanpur 2015MELA College Quiz - Antaragni IIT Kanpur 2015
MELA College Quiz - Antaragni IIT Kanpur 2015
 
Mood Indigo General Quiz 2012 Final
Mood Indigo General Quiz 2012 Final Mood Indigo General Quiz 2012 Final
Mood Indigo General Quiz 2012 Final
 
College General Quiz @ Arcania ISBF
College General Quiz @ Arcania ISBFCollege General Quiz @ Arcania ISBF
College General Quiz @ Arcania ISBF
 
IIT - Bombay - Open General Quiz 2.0 - Preliminary Round with Answers
IIT - Bombay - Open General Quiz 2.0 - Preliminary Round with AnswersIIT - Bombay - Open General Quiz 2.0 - Preliminary Round with Answers
IIT - Bombay - Open General Quiz 2.0 - Preliminary Round with Answers
 
IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...
IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...
IIT - Bombay - Open General Quiz 2.0 - Finals (with Written Round and Long Vi...
 
Freshers quiz 2015 at Jindal Global University, Sonepat
Freshers quiz 2015 at Jindal Global University, Sonepat Freshers quiz 2015 at Jindal Global University, Sonepat
Freshers quiz 2015 at Jindal Global University, Sonepat
 

Similaire à Boss hack u-iit-madras-2012

Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001Fred Meng
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012discoversudhir
 
BOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT HyderabadBOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT HyderabadSaurabh Sahni
 
BOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreBOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreSaurabh Sahni
 
Open hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalOpen hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalRahul Hampole
 
Technical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersTechnical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersHenry Visotski
 
SharePoint 2013 Search Based Solutions
SharePoint 2013 Search Based SolutionsSharePoint 2013 Search Based Solutions
SharePoint 2013 Search Based SolutionsSPC Adriatics
 
Global Search Strategy
Global Search StrategyGlobal Search Strategy
Global Search Strategyadlift
 
Building Social Tools
Building Social ToolsBuilding Social Tools
Building Social ToolsAnand Hemmige
 
Создание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружениеСоздание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружениеSQALab
 
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword ResearchSearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword ResearchDistilled
 
CNIT 129S: Ch 4: Mapping the Application
CNIT 129S: Ch 4: Mapping the ApplicationCNIT 129S: Ch 4: Mapping the Application
CNIT 129S: Ch 4: Mapping the ApplicationSam Bowne
 
The Hacking Game - Think Like a Hacker Meetup 12072023.pptx
The Hacking Game - Think Like a Hacker Meetup 12072023.pptxThe Hacking Game - Think Like a Hacker Meetup 12072023.pptx
The Hacking Game - Think Like a Hacker Meetup 12072023.pptxlior mazor
 
SharePoint goes Microsoft Graph
SharePoint goes Microsoft GraphSharePoint goes Microsoft Graph
SharePoint goes Microsoft GraphMarkus Moeller
 
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...State of Search Conference
 
Exploring Content API Options - March 23rd 2016
Exploring Content API Options - March 23rd 2016Exploring Content API Options - March 23rd 2016
Exploring Content API Options - March 23rd 2016Jani Tarvainen
 

Similaire à Boss hack u-iit-madras-2012 (20)

Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001Yahoo! BOSS API external 20091001
Yahoo! BOSS API external 20091001
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012
 
BOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT HyderabadBOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT Hyderabad
 
BOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreBOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT Bangalore
 
Open hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalOpen hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-final
 
Technical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersTechnical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and Webmasters
 
SharePoint 2013 Search Based Solutions
SharePoint 2013 Search Based SolutionsSharePoint 2013 Search Based Solutions
SharePoint 2013 Search Based Solutions
 
Global Search Strategy
Global Search StrategyGlobal Search Strategy
Global Search Strategy
 
Building Social Tools
Building Social ToolsBuilding Social Tools
Building Social Tools
 
Создание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружениеСоздание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружение
 
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword ResearchSearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
 
CNIT 129S: Ch 4: Mapping the Application
CNIT 129S: Ch 4: Mapping the ApplicationCNIT 129S: Ch 4: Mapping the Application
CNIT 129S: Ch 4: Mapping the Application
 
The Hacking Game - Think Like a Hacker Meetup 12072023.pptx
The Hacking Game - Think Like a Hacker Meetup 12072023.pptxThe Hacking Game - Think Like a Hacker Meetup 12072023.pptx
The Hacking Game - Think Like a Hacker Meetup 12072023.pptx
 
SharePoint goes Microsoft Graph
SharePoint goes Microsoft GraphSharePoint goes Microsoft Graph
SharePoint goes Microsoft Graph
 
Platforms FTW!
Platforms FTW!Platforms FTW!
Platforms FTW!
 
Platforms FTW!
Platforms FTW!Platforms FTW!
Platforms FTW!
 
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
 
Seo program Update
Seo program UpdateSeo program Update
Seo program Update
 
Exploring Content API Options - March 23rd 2016
Exploring Content API Options - March 23rd 2016Exploring Content API Options - March 23rd 2016
Exploring Content API Options - March 23rd 2016
 
MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...
MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...
MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...
 

Dernier

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Dernier (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

Boss hack u-iit-madras-2012

  • 1. Hacking BOSS Sudhir Reddy Hacker @Yahoo
  • 2. BOSS … What ? • BOSS = Build your Own Search Service • Open Yahoo’s core search features via web services to let 3rd parties revolutionize Search • Monetization - Ads Service : 3rd parties revenue share • Pay per use model. Don’t worry will give you free access for hacking  “BOSS is a data API. It’s not a search API” - Vik Singh, BOSS Architect
  • 3. BOSS Details • REST based API. • XML or JSON output • Web, News, Image, SiteSearch, and Spelling Suggestion services • Time span filtering for News Search • Image attributes like height, width, etc • Document type filtering • Delicious Tags and Popularity • Keyterm extraction • Microformat and RDF data • Extended abstracts • Complex query combinations and filters • Search for data in different markets • Recognizes most search filters from Yahoo! and Google (backdoor hacks)
  • 4. BOSS … Authentication ? • OAUTH 1.0 • HTTP headers or GET params • Self-serve sample code available – PHP: http://oauth.net/code – Perl: http://search.cpan.org/dist/Net-OAuth/ – Ruby: https://gist.github.com/383159 – C#: http://oauth.googlecode.com/svn/code/csharp/OAuth Base.cs – Java: http://code.google.com/p/oauth-signpost/
  • 5. Boss APIs … Data Request ? http://yboss.yahooapis.com/ysearch/{service,*}?q ={keywords} http://yboss.yahooapis.com/ysearch/{service,*}ser vice1.q={keywords}&service2.q={keywords} Arguments: service, q, start, count, market, format, callback, sites Operators: And, Or, +(Include), -(Exclude)
  • 6. What can I Hack ? • Some Useful Data Sources to mashup: Y! Answers, Twitter, Youtube, Wolfram Alpha, Delicious, Flickr, Facebook, Wikipedia, Foursquare, Open Data, IMDB, Amazon, Netflix, Craigslist, TheInfo.org and more…
  • 11. Resources • Yahoo! BOSS: http://developer.yahoo.com/boss • YQL: http://developer.yahoo.com/yql • OAuth: http://developer.yahoo.com/oauth/ • YUI: http://developer.yahoo.com/yui/ • Everything@YDN : http://developer.yahoo.com/everything.html • Google App Engine: http://appengine.google.com • Amazon Web Services: http://aws.amazon.com • Open Data: http://theinfo.org