MASHERY-ROTTEN TOMATOES API DEMO APP
This sample is part of the Intel(R) XDK. Please sign up at http://software.intel.com/en-us/html5. To see the technical detail of the sample, please visit the sample article page at http://software.intel.com/en-us/html5/articles/integrating-apis-with-xdk-rottentomatoes-sample-app.
Copyright (c) 2012-2013, Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
App Framework (formerly jQ.Mobi)
- source: https://github.com/01org/appframework
- license: https://github.com/01org/appframework/blob/master/license.txt
WHAT DOES THIS APP DO?
Uses Rotten Tomatoes's API to find newly opened movies and top DVD rentals, along with their thumbnail image and rating.
You will need the following to get started -
- Intel's XDK. Free Download - http://xdk-software.intel.com/
- A Rotten Tomatoes API key (Register at http://developer.rottentomatoes.com/member/register).
OBTAINING THE API KEY
Before you can begin using this app, you will need to get an API key from Rotten Tomatoes at http://developer.rottentomatoes.com/member/register. This will also give you a Single Sign-On Mashery ID with access to hundreds of other APIs.
SETTING UP THE API KEY IN THIS APP
Once you have obtained your API key, assign the API key to the variable api_key on line 1 of the file api.js, like so -
var api_key ='PLACE-YOUR-API-KEY-HERE';
ABOUT THE ROTTEN TOMATOES API
Rotten Tomatoes API gives access to Rotten Tomatoes' wealth of movie information, allowing anyone to build applications and widgets enriched with Rotten Tomatoes data. Resources include:
- Movie Lists
- DVD Lists
- Top Level Lists
- Detailed Information
Get more information about the Rotten Tomatoes APIs at http://developer.rottentomatoes.com/docs/read/Home
ROTTEN TOMATOES INTERACTIVE API DOCUMENTATION
To learn more about the data set provided by Rotten Tomatoes's APIs, visit their interactive documentation at http://developer.rottentomatoes.com/io-docs
ABOUT THE MASHERY API NETWORK
The Mashery API Network (http://developer.mashery.com) is an open data commons of over 50 RESTful APIs that developers can access with their Mashery ID.
Mashery is the world's leading API management service provider, helping companies provide the best API experience for developers, as well as the most advanced API management and reporting tools to our clients.
EXPLORE MORE APIS
Check out Mashery's API Network at http://developer.mashery.com/apis to explore other awesome APIs including NY Times, Klout, USA TODAY, Best Buy, Hoovers, Edmunds, PeerIndex, FoodEssentials, ESPN, Rovi and many more.
If you have any questions or need any help obtaining an API key, you can reach out to us at: email@example.com