From 4791b46bf4372c9ee46efb178e9a0c0c2cdf4ebc Mon Sep 17 00:00:00 2001 From: Ajdin Date: Sun, 17 Apr 2016 20:55:00 -0700 Subject: [PATCH] Removing Rotten Tomatoes API Info Summary:Earlier on in the tutorial it was recommended to pull in mock data from Github instead of making Rotten Tomato API calls, this change will update the final code to match the rest of the tutorial. Closes https://github.com/facebook/react-native/pull/7025 Differential Revision: D3190334 fb-gh-sync-id: e699f756d81d0436bac6a4938d54fcaada5d878c fbshipit-source-id: e699f756d81d0436bac6a4938d54fcaada5d878c --- docs/Tutorial.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/Tutorial.md b/docs/Tutorial.md index f42f44580..d0cb7507f 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -409,11 +409,7 @@ import { View, } from 'react-native'; -var API_KEY = '7waqfqbprs7pajbz28mqf6vz'; -var API_URL = 'http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json'; -var PAGE_SIZE = 25; -var PARAMS = '?apikey=' + API_KEY + '&page_limit=' + PAGE_SIZE; -var REQUEST_URL = API_URL + PARAMS; +var REQUEST_URL = 'https://raw.githubusercontent.com/facebook/react-native/master/docs/MoviesExample.json'; class AwesomeProject extends Component { constructor(props) {