Here we'll show you how to use our REST API to search for movie reviews using the New York Times API.
1 Log in to Temboo. If you don't already have an account, you can register for free here.
2 Go to the NYTimes > MovieReviews > SearchByKeyword Choreo in our Library. Select REST API from the drop down menu at the top of the page.
3Now let's test the NYTimes > MovieReviews > SearchByKeyword Choreo directly from our website. Use the Query input to search reviews for your favorite movie (e.g., Moonrise Kingdom, Melancholia, etc.).
4Click Generate Code and you'll see a JSON formatted list of movie reviews in the Response output in the Output section.
5Scroll down to find the Code section of the Choreo page and copy the auto-generated cURL command.
6To run the command, paste it directly into your terminal or console. Your code should look something like this:
curl --basic -u APP_NAME: APP_KEY --header "x-temboo-domain: /ACCOUNT_NAME/master" --header "Content-Type: application/json" --header "Accept: application/json" -X POST --data '{"inputs": [{"name":"Query", "value":"Moonrise Kingdom"}]}' "https://ACCOUNT_NAME.temboolive.com/temboo-api/1.0/choreos/Library/NYTimes/MovieReviews/SearchByKeyword"
7Run the code and check the Response output for the movie reviews that match your search criteria.
We're all finished! Now you're searching for NY Times movie reviews with our REST API. Check out what else you can do with it by exploring the 2000+ Choreos in our Library.
Once you've got your code up and running, you're ready to move on and do more. From monitoring your running applications, to moving your generated Temboo code to your preferred development environment and sharing it with colleagues, collaborators and friends - we've got you covered.
We're always happy to help. Just email us at support@temboo.com, and we'll answer your questions.