SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Downloaden Sie, um offline zu lesen
Build your Own Search Service




Fred Meng
Outlines
•    Search engines using BOSS
•    Big milestones for BOSS
•    What else can be built with BOSS
•    BOSS API
     –  What
     –  Why
     –  Features
•  How to use it
     –  BOSS API
     –  BOSS Mashup framework
Search engines using
middlespot - http://middlespot.com
hakia - http://hakia.com
hakia - http://hakia.com
hakia - http://hakia.com
Tartin3 - http://www.tartin3.com
askBoss - http://ask-boss.appspot.com
askBoss - http://ask-boss.appspot.com
askBoss - http://ask-boss.appspot.com
askBoss - http://ask-boss.appspot.com
OneRiot - http://www.oneriot.com

                New ranking models
tweetnews - http://tweetnews.appspot.com

                New ranking models
TechCrunch - http://search.techcrunch.com
TechCrunch - http://search.techcrunch.com
Big Milestone for
Big Milestone for BOSS


  • 10 million queries per day in Dec 2009 = 300 million
  monthly queries
     source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a-
     milestone/


  • 1 billion monthly queries in May 2009
     source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a-
     milestone/
What else can be built with
Get the pic - http://www.getthepicsure.com
Get the pic - http://www.getthepicsure.com
Get the pic - http://www.getthepicsure.com
What can be built with the BOSS API?

    Client / Browser integrations
What can be built with the BOSS API?

            Client / Browser integrations
What can be built with the BOSS API?

            Client / Browser integrations
About   APIs
Reality of Search: Huge Barriers of Entry




 •  Three players (G-Y-M) dominate the market, giving
    users limited choice
 •  Becoming a serious Search principal requires a massive
    capital investment and access to top technical talent
Reality of Search: Huge Barriers of Entry




                   All crawled, ranked
                   and presented in a
                        single API
What?


•  Open up Yahoo!'s search infrastructure and enable
   third parties to build revolutionary search products.

•  Unrestricted!

•  http://developer.yahoo.com/search/boss



                   All crawled, ranked
                   and presented in a
                        single API
Opening Yahoo! Search Tech




             All crawled, ranked
             and presented in a
                  single API
Why?


•  Removes entry barriers
  –  massive capital investment

•  Asset to innovate
  –  New relevancy models
  –  New presentation styles


•  Boom the search market
  –  Fragment the market, foster more players, choices,
     competitions
BOSS API Features
•    Ability to re-rank results
•    Blend results/content sources
•    Ability to use any monetization platform
•    Present results in any way
•    No branding or attribution
•    Unlimited queries per day* <BOSS Usage Fees>
•    Access to multiple verticals (web search, image, news)
•    Spell checks, keyword suggestions (Key Terms)
•    40+ supported language and region pairs
•    SearchMonkey Structured Data, Delicious data
•    Page data from Site Explorer
•    Expanded Abstracts: 170 characters to 300!
•    Mashup Framework
How to use
Getting Started with BOSS

  1)  Info & Docs: http://developer.yahoo.com/boss

  2)  Register for an BOSS App ID (free)

  3)  Code samples: Javascript, PHP and Python
     http://www.saurabhsahni.com/boss-examples.zip


  4)  (optional) Join the BOSS Developer Group
     http://tech.groups.yahoo.com/group/ysearchboss/


  5)  Starting your hacks
API Structure

  The Basics:
  http://boss.yahooapis.com/ysearch/{vert}/v1/{query}?
     appid={BOSSappid}&format=xml

  •    {vert} = {web, news, images, spelling}
  •    {query} = {your search term}
  •    {appid} = required application id
  •    {format} = json is the default
API Structure

  Optional Parameters:
  http://boss.yahooapis.com/ysearch/{vert}/v1/{query}?
      appid={BOSSappid}&format=xml&optionalparameter={value}

  •    lang = {value} : 40+ languages
  •    count = {value} : number of results request
  •    start = {value} : first result requested
  •    sites = {value} : site restricts
  •    view=keyterms : related words/phrases for each result
  •    view = searchmonkey_rdf : SearchMonkey structured data
  •    view = delicious_toptags : most common public tags
  •    view = delicious_saves : # of delicious saves
  •    filter = porn / hate : filter out porn or hate-related content
  •    type = {value} : document format (e.g. word, pdf, etc)
  •    abstract = long : increases abstract length to 300 words
BOSS API: Web XML Response

  http://boss.yahooapis.com/ysearch/web/v1/iphone?appid=…
      &format=xml&lang=tzh&region=tw
BOSS API: Find related keywords

  http://boss.yahooapis.com/ysearch/web/v1/ ?appid=…
      &format=xml&lang=tzh&region=tw&age=1d-7d&view=keyterms
API Structure: Images

  Optional Parameters for Images:
  http://boss.yahooapis.com/ysearch/images/v1/iphone?
      appid={BOSSappid}&format=xml&optionalparameter={value}

  •    dimensions = {value}: all (default), small, medium, large, wallpaper,
       widewallpaper
  •    refererurl = {value}: URL, no default. Search for this URL. Depending on
       other query restrictions, returns all image objects with this referring URL.
  •    url = {value}: URL, no default. Search for this URL. Returns this exact image
       result.
BOSS API: Images XML Response

  http://boss.yahooapis.com/ysearch/images/v1/iphone?appid=…
      &format=xml&dimensions=small
API Structure: News

  Optional Parameters for News:
  http://boss.yahooapis.com/ysearch/news/v1/ ?
      appid={BOSSappid}&format=xml&optionalparameter={value}

  •    age = {value}: 7d is the default. (30d, 1w, 12h, 5d-10d, 2w-30d)
  •    orderby = {value}: relevance is the default. (add orderby=date to sort by
       date)
BOSS API: News XML Response

  http://boss.yahooapis.com/ysearch/news/v1/ ?appid=…
      &format=xml&lang=tzh&region=tw&age=1d-7d
BOSS API: Spell Check

  http://boss.yahooapis.com/ysearch/spelling/v1/taipai?appid=…
      &format=xml
BOSS Mashup framework

  An experimental Python library which
   provides SQL-like functions for mashing
   up the BOSS API with third-party data
   sources.



  http://developer.yahoo.com/search/boss/
    mashup.html
BOSS Mashup framework

  Simple code example:
BOSS Mashup framework

  Output:
BMF+GAE

  Enhanced version of BOSS Mashup
   Framework to Google App Engine:

   http://zooie.wordpress.com/2008/08/04/yahoo-boss-
   google-app-engine-integrated/




  Enables quick deployment of BOSS
   applications online
Thanks




         Questions / Feedback?

Weitere ähnliche Inhalte

Ähnlich wie Build your Own Search Service with BOSS API

BOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreBOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreSaurabh Sahni
 
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
 
Yahoo BOSS Presentation London Open Hack Day Talk Boss
Yahoo BOSS Presentation London Open Hack Day Talk   BossYahoo BOSS Presentation London Open Hack Day Talk   Boss
Yahoo BOSS Presentation London Open Hack Day Talk BossKorben00
 
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
 
Yahoo! BOSS in Bucharest
Yahoo! BOSS in BucharestYahoo! BOSS in Bucharest
Yahoo! BOSS in BucharestTed Drake
 
Open hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalOpen hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalRahul Hampole
 
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018Paul Shapiro
 
Hack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - LondonHack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - LondonTed Drake
 
Global Search Strategy
Global Search StrategyGlobal Search Strategy
Global Search Strategyadlift
 
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
 
Yahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and LondonYahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and Londongraham_mudd
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012discoversudhir
 
Creating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn APICreating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn APIKirsten Hunter
 
Yahoo! Search BOSS
Yahoo! Search BOSSYahoo! Search BOSS
Yahoo! Search BOSSPraveen P N
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxBlockchainizator
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine OptimizationSD Sharma
 
Jeremy cabral search marketing summit - scraping data-driven content (1)
Jeremy cabral   search marketing summit - scraping data-driven content (1)Jeremy cabral   search marketing summit - scraping data-driven content (1)
Jeremy cabral search marketing summit - scraping data-driven content (1)Jeremy Cabral
 

Ähnlich wie Build your Own Search Service with BOSS API (20)

BOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreBOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT Bangalore
 
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
 
Yahoo BOSS Presentation London Open Hack Day Talk Boss
Yahoo BOSS Presentation London Open Hack Day Talk   BossYahoo BOSS Presentation London Open Hack Day Talk   Boss
Yahoo BOSS Presentation London Open Hack Day Talk Boss
 
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...
 
Yahoo! BOSS in Bucharest
Yahoo! BOSS in BucharestYahoo! BOSS in Bucharest
Yahoo! BOSS in Bucharest
 
Open hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalOpen hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-final
 
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...
 
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
 
Hack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - LondonHack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - London
 
Global Search Strategy
Global Search StrategyGlobal Search Strategy
Global Search Strategy
 
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
 
Yahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and LondonYahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and London
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012
 
Creating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn APICreating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn API
 
Digital Marketing Mumbai
Digital Marketing MumbaiDigital Marketing Mumbai
Digital Marketing Mumbai
 
Yahoo! Search BOSS
Yahoo! Search BOSSYahoo! Search BOSS
Yahoo! Search BOSS
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimization
 
Jeremy cabral search marketing summit - scraping data-driven content (1)
Jeremy cabral   search marketing summit - scraping data-driven content (1)Jeremy cabral   search marketing summit - scraping data-driven content (1)
Jeremy cabral search marketing summit - scraping data-driven content (1)
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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 Scriptwesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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 2024Rafal Los
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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 Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Build your Own Search Service with BOSS API

  • 1. Build your Own Search Service Fred Meng
  • 2. Outlines •  Search engines using BOSS •  Big milestones for BOSS •  What else can be built with BOSS •  BOSS API –  What –  Why –  Features •  How to use it –  BOSS API –  BOSS Mashup framework
  • 13. OneRiot - http://www.oneriot.com New ranking models
  • 18. Big Milestone for BOSS • 10 million queries per day in Dec 2009 = 300 million monthly queries source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a- milestone/ • 1 billion monthly queries in May 2009 source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a- milestone/
  • 19. What else can be built with
  • 20. Get the pic - http://www.getthepicsure.com
  • 21. Get the pic - http://www.getthepicsure.com
  • 22. Get the pic - http://www.getthepicsure.com
  • 23. What can be built with the BOSS API? Client / Browser integrations
  • 24. What can be built with the BOSS API? Client / Browser integrations
  • 25. What can be built with the BOSS API? Client / Browser integrations
  • 26. About APIs
  • 27. Reality of Search: Huge Barriers of Entry •  Three players (G-Y-M) dominate the market, giving users limited choice •  Becoming a serious Search principal requires a massive capital investment and access to top technical talent
  • 28. Reality of Search: Huge Barriers of Entry All crawled, ranked and presented in a single API
  • 29. What? •  Open up Yahoo!'s search infrastructure and enable third parties to build revolutionary search products. •  Unrestricted! •  http://developer.yahoo.com/search/boss All crawled, ranked and presented in a single API
  • 30. Opening Yahoo! Search Tech All crawled, ranked and presented in a single API
  • 31. Why? •  Removes entry barriers –  massive capital investment •  Asset to innovate –  New relevancy models –  New presentation styles •  Boom the search market –  Fragment the market, foster more players, choices, competitions
  • 32. BOSS API Features •  Ability to re-rank results •  Blend results/content sources •  Ability to use any monetization platform •  Present results in any way •  No branding or attribution •  Unlimited queries per day* <BOSS Usage Fees> •  Access to multiple verticals (web search, image, news) •  Spell checks, keyword suggestions (Key Terms) •  40+ supported language and region pairs •  SearchMonkey Structured Data, Delicious data •  Page data from Site Explorer •  Expanded Abstracts: 170 characters to 300! •  Mashup Framework
  • 34. Getting Started with BOSS 1)  Info & Docs: http://developer.yahoo.com/boss 2)  Register for an BOSS App ID (free) 3)  Code samples: Javascript, PHP and Python http://www.saurabhsahni.com/boss-examples.zip 4)  (optional) Join the BOSS Developer Group http://tech.groups.yahoo.com/group/ysearchboss/ 5)  Starting your hacks
  • 35. API Structure The Basics: http://boss.yahooapis.com/ysearch/{vert}/v1/{query}? appid={BOSSappid}&format=xml •  {vert} = {web, news, images, spelling} •  {query} = {your search term} •  {appid} = required application id •  {format} = json is the default
  • 36. API Structure Optional Parameters: http://boss.yahooapis.com/ysearch/{vert}/v1/{query}? appid={BOSSappid}&format=xml&optionalparameter={value} •  lang = {value} : 40+ languages •  count = {value} : number of results request •  start = {value} : first result requested •  sites = {value} : site restricts •  view=keyterms : related words/phrases for each result •  view = searchmonkey_rdf : SearchMonkey structured data •  view = delicious_toptags : most common public tags •  view = delicious_saves : # of delicious saves •  filter = porn / hate : filter out porn or hate-related content •  type = {value} : document format (e.g. word, pdf, etc) •  abstract = long : increases abstract length to 300 words
  • 37. BOSS API: Web XML Response http://boss.yahooapis.com/ysearch/web/v1/iphone?appid=… &format=xml&lang=tzh&region=tw
  • 38. BOSS API: Find related keywords http://boss.yahooapis.com/ysearch/web/v1/ ?appid=… &format=xml&lang=tzh&region=tw&age=1d-7d&view=keyterms
  • 39. API Structure: Images Optional Parameters for Images: http://boss.yahooapis.com/ysearch/images/v1/iphone? appid={BOSSappid}&format=xml&optionalparameter={value} •  dimensions = {value}: all (default), small, medium, large, wallpaper, widewallpaper •  refererurl = {value}: URL, no default. Search for this URL. Depending on other query restrictions, returns all image objects with this referring URL. •  url = {value}: URL, no default. Search for this URL. Returns this exact image result.
  • 40. BOSS API: Images XML Response http://boss.yahooapis.com/ysearch/images/v1/iphone?appid=… &format=xml&dimensions=small
  • 41. API Structure: News Optional Parameters for News: http://boss.yahooapis.com/ysearch/news/v1/ ? appid={BOSSappid}&format=xml&optionalparameter={value} •  age = {value}: 7d is the default. (30d, 1w, 12h, 5d-10d, 2w-30d) •  orderby = {value}: relevance is the default. (add orderby=date to sort by date)
  • 42. BOSS API: News XML Response http://boss.yahooapis.com/ysearch/news/v1/ ?appid=… &format=xml&lang=tzh&region=tw&age=1d-7d
  • 43. BOSS API: Spell Check http://boss.yahooapis.com/ysearch/spelling/v1/taipai?appid=… &format=xml
  • 44. BOSS Mashup framework An experimental Python library which provides SQL-like functions for mashing up the BOSS API with third-party data sources. http://developer.yahoo.com/search/boss/ mashup.html
  • 45. BOSS Mashup framework Simple code example:
  • 47. BMF+GAE Enhanced version of BOSS Mashup Framework to Google App Engine: http://zooie.wordpress.com/2008/08/04/yahoo-boss- google-app-engine-integrated/ Enables quick deployment of BOSS applications online
  • 48. Thanks Questions / Feedback?