diff --git a/Examples/Movies/SearchScreen.js b/Examples/Movies/SearchScreen.js index b845c03a8..01f3966f1 100644 --- a/Examples/Movies/SearchScreen.js +++ b/Examples/Movies/SearchScreen.js @@ -27,8 +27,16 @@ var MovieScreen = require('./MovieScreen'); var fetch = require('fetch'); +/** + * This is for demo purposes only, and rate limited. + * In case you want to use the Rotten Tomatoes' API on a real app you should + * create an account at http://developer.rottentomatoes.com/ + */ var API_URL = 'http://api.rottentomatoes.com/api/public/v1.0/'; -var API_KEYS = ['7waqfqbprs7pajbz28mqf6vz', 'y4vwv8m33hed9ety83jmv52f']; +var API_KEYS = [ + '7waqfqbprs7pajbz28mqf6vz', + // 'y4vwv8m33hed9ety83jmv52f', Fallback api_key +]; // Results should be cached keyed by the query // with values of null meaning "being fetched"