Yahoo! Search BOSS
Upcoming SlideShare
Loading in...5

Yahoo! Search BOSS



Yahoo! Search BOSS

Yahoo! Search BOSS



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment
  • Add Images here
  • Choose a funny image here
  • Add more
  • Add more
  • Fix these links

Yahoo! Search BOSS Yahoo! Search BOSS Presentation Transcript

  • Yahoo! Search BOSS
    Praveen P.N (
    twitter @holydevil
  • What is BOSS?
    Build your Own Search Service
  • What does boss give you?
    • Search Data and Infrastructure
    • Monetization (We give you Ads!!)
    • Support and Tools
    BOSSis a service that provides you (the developer) flexible access to different types of data from Yahoo and allows you to build powerful commercial search applications with that data.
    BOSSprovides you Search Advertising and simple terms so that you can monetize that innovative product and continue to invest your personal time in it.
    BOSSalso gives you Support and Tools to get your product working.
    • Restful XML and JSON API
    • Web, Image, Spelling, News and Search Ads
    • More services soon
    • Flexibility to Blend and Re-rank Results
    • Create your own look and feel
    • Change ranking
    • Mix it with other API’s
    • OAuthbased Authentication
    What does that mean?
  • What else do you get
    • Web and Limited Web results (smaller subset and at most 3 days old)
    • Complex query combinations and filters
    • Search for data in different markets
    • Image attributes like height, width, etc
    • Time span filtering for News Search
    • Document type filtering
    • Extended abstracts
    • Recognizes most search filters from Yahoo! and Google (backdoor hacks)
  • How DO I hack with it?
  • Sign up
    • Self-serve sign up with simple Credit Card/Paypal payment options
    • Visit BOSS Page or wait until the end for pricing
    • Simplified pricing based on query type
    • A combined bill for developers taking Search Advertising
    • One signup, use in any market
    Don’t bother for now, we have a key setup for you
  • The 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!
    e.g.“Dark Knight”&format=xml
  • Sample calls
    • Getting multiple data sets
    • /ysearch/web,images,news?q=anna
    • /ysearch/web,images,news?web.q=anna&images.q=anna&news.q=lokpal
    • Searching through sites
    • A Simple Movie Search
    • /ysearch/web?q=“Dark Knight”&,,
    • AND/OR operators
    • /ysearch/web?q="stevejobs"AND((ipad)OR(iphone))&,
    • Important: Use Braces or quotes
  • Unary Operators
    • Search for Batman but not “Dark Knight”
    • q=(batman -“Dark Knight")
    • Find pages with “Heath Ledger” but not “Dark Knight”
    • q=+”heath ledger”–”Dark Knight”&
    • Force auto-spelling off
    • q=+”drk knight”
    AND OR
  • Searching in body and in title
    • Searching for Dark Knight in the Title on Yahoo movies
    • q=reviews intitle:"dark knight"&
    • Searching for Dark Knight in the Title in Yahoo movies containing Christian Bale
    • q=reviews intitle:"dark knight" inbody:"christian bale"&
  • Market and document specific Filters
    • Search for “Dark Knight” in India specific sites
    • q=“Dark Knight”&market=en-in
    • Search for “PDF’s containing “Dark Knight”
    • q=“Dark Knight”&type=pdf
    • Search for MS Office type (except PPT’s) containing “Dark Knight”
    • q=“Dark Knight”&type=msoffice,-ppt
  • Output
  • Image search parameters
    • 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
    • Search for a image at a certain refer URL
    • /ysearch/images?q=yahoo&refererurl=
    Interesting Output Fields
    • format, file size, height, width, title, total result count
  • News search parameters
    • Search news that is less than 7 days old
    • /ysearch/news?q=lokpal&age=7d
    • Search news that is between 20hrs and 2 days old
    • /ysearch/news?q=lokpal&age=20h2d
    • Re-rank news results by date
    • /ysearch/news?q=lokpal&ranking=true
    Interesting Output Fields
    • Source, Date, Source URL
  • BOSS + YQL
    Table Name:
    e.g. select * from where ck=… and secret=… and q=‘yahoo’ and service=‘news’
  • Understand OAuth
    Consumer Key – Used to make a call to the API
    Consumer Secret – Used for 3 legged oAuth (not used for BOSS)
    Making a call (
    • 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 Timestamp –Unix time (valid for 5 minutes only)
    • oAuth version – 1.0
    We have code samples in PHP, Perl, Ruby for you!!
  • Hack IDEAS and useful API’s
    • RealTime
    • Twitter/Facebook API
    • Video
    • YouTube data API
    • Vertical search engines
    • Programmable web has interesting API’s
    • Local Search Engines
    • Yahoo Geocoding services e.g. Placefinder
    • Chrome extensions
    • Mobile Applications
  • Example hacks
  • Interceder
  • Inquisitor: Browser Extenstion (v1)
  • Ask-boss (v1)
  • More resources
    • Yahoo! BOSS:
    • BOSS Technical Documentation:
    • YQL:
    • Fire Eagle:
    • Google App Engine: http: //
    • Amazon Web Services:
    • oAuth:
    • Open Social:
    • Open Data:
    • Alt Search Engines:
  • Thank You!
    happy hacking