SEARCH

// developer.daylife.com


Daylife API Release Notes

Note: In the context of this document, deprecated means that a given API version has been superseded by one or more subsequent versions and has been scheduled to be decommissioned. Decommissioned means that guaranteed compatibility and support for a given API version has been removed altogether. For more information about versioning and compatibility levels, please see this section in Basic Concepts in the Daylife API.

API Version 4.10 (current)

  • Across the API, we've added some parameters (where appropriate):
    • Use source_blacklist parameter with any xxx_getRelatedArticles, xxx_getRelatedTopics or xxx_getRelatedQuotes call to exclude results from certain sources
    • Similarly, source_whitelist can limit returned results to enumerated sources
    • Use the diversity parameter to control how similar (diversity=0) or diverse (diversity=10) you want your results to be with xxx_getRelatedArticles calls
    • Use the threshold to filter results on the scored relationship strength between topics, quotes, articles, images, and videos
    • Use block_nsfw=1 to exclude content that contains obscenities
    • Use has_image=1 to constrained xxx_getArticle calls to results that have a matching image.
  • We've added a ContentAPI, which allows you to retrieve data based on arbitrary textual content
  • We've added a topic_getRelatedVideos call.
  • We've REMOVED the following calls from the Daylife API:
    • topic_getRelatedStories
    • source_getImages
    • article_getRelatedTopics
    • article_getRelatedTopics
    • article_getRelatedImages
    • article_getRelatedQuotes
    • quote_getRelatedQuotes
    • quote_getRelatedArticles

API Version 4.8 (deprecated)

This version of the Daylife API will be decommissioned on December 15, 2010

  • Filter images returned by topic_getRelatedImages by using min_topic_image_confidence  :   Confidence that the topic is in the photo. Possible values - 'low', 'medium', 'high'
  • If the Query for your Search API call has more than 32 terms/phrases, an error code is returned. For versions previous to 4.8, an empty <payload> with a Success error code was returned.

 

API Version 4.7 (deprecated)

This version of the Daylife API will be decommissioned on December 15, 2010

  • Turn off sliding excerpts in topic_getRelatedArticles, topic_getRelatedStories and search_getRelatedArticles by using sliding_excerpt=0 to get the first 256 characters of the Article body as an excerpt . By default, an excerpt from within the article body that contains your topic name/query is returned, that we call as sliding excerpt.
  • topic_getInfo returns a lead image (tag is called <hero_image>) for the topic that is manually selected by an editor at Daylife. These are usually headshots for PERSON topics and logos for COMPANY topics and tend to be more effective and accurate than the lead image selected by the system.
  • All <source> blocks now contain a link to the favicon for the source in a <favicon_url> tag.
  •  

    API Version 4.6 (deprecated)

    This version of the Daylife API will be decommissioned on December 15, 2010

    • Introducing sort=daterank  for the Search API calls. This sorting is a mix of relevancy (sort=relevance) and recency (sort=date).
    • You can now use a new parameter called source_whitelist to filter the results by sources. You can specify multiple sources by using their source ids as multiple name value pairs in the API request.

     

    API Version 4.5 (deprecated)

    This version of the Daylife API will be decommissioned on December 15, 2010

    • include_topic_type  for all calls returning related Topics (xxx_getRelatedTopics) changed from the default of ‘person’, ‘place’, ‘organization’ to return all types of topics.

     

    API Version 4.4 (deprecated)

    This version of the Daylife API will be decommissioned on December 15, 2010

    • Introducing search_getQuotesBy  and topic_getQuotesBy  to return Quotes said by a Topic/matching Topic.
    • You can get the Wikipedia abstract for a topic by calling topic_getInfo and using include_wikipedia_info=1. Default is 0.
    • API Version 4.4 is deprecated and has been scheduled for decommissioning on 04/30/2010. Be sure to update all of your projects to the latest version before then.

     

    API Version 4.3 (decommissioned)

     

    API Version 4.2 (decommissioned)

      

    API Version 4.0 (decommissioned)