javascript – Basic use of an API (The Rotten Tomatoes API)

javascript – Basic use of an API (The Rotten Tomatoes API)

From what ive learned from their forums, their API does not currently support what youre looking for. They have to implement that in order for you to accomplish such a task. Something like passing an array of movie IDs:

api.rottentomatoes.com/api/public/v1.0/movies/movies.json?q=[id1,id2,id3]

You could obtain each movie youd want by querying theyre API once for every movie, and storing that info in a object for instance, but since public APIs implement some sort of call limit, youd reach that limit in no time ( depending on the type of app youre developing obviously )

A user on their forums actually asked for such a feature, you can see it here

javascript – Basic use of an API (The Rotten Tomatoes API)

Leave a Reply

Your email address will not be published.