They do give different results. The api returns movies in theater sorted according to the number of theaters that are showing the movie. So that may be why it matches the box office numbers closely, but not entirely (more movie theaters, more likely to have higher box office). On the RT site, the default sort is by release date. Unfortunately, there isn't a way to specify how you want the movies sorted.
This should be better documented, I'll make sure to update the documentation later this weekend.
Thanks for the swift reply. I'm trying create a movie recommendation based upon the best rating for the movie that were in theaters this past week. Would you know an alternative way of getting that information?
Unfortunately, the endpoint doesn't provide as much fine grain control as you desire (show movies in theaters for the last week). But, what is being given should be usable for your situation. The movies shown in that list is "in theaters" and checking the release date can ensure that the movie was in theaters the previous week. It's a little more manual. Does that fit your use case?
-Steve
ps. I will comment on that other subject directly in that thread.
Hi,
As far as I can tell,
http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json?apikey=[your_api_key]&_prettyprint=true&page_limit=32&country=us
gives me the Box Office Chart rather that the list of movies that came out in chronological order. I expected the result to be like this:
http://www.rottentomatoes.com/movie/in-theaters/
Yet the result don't match with the results found in the api call
Message edited by 12aon 1 year ago
Steve N. – 1 year ago
Hi 12aon,
They do give different results. The api returns movies in theater sorted according to the number of theaters that are showing the movie. So that may be why it matches the box office numbers closely, but not entirely (more movie theaters, more likely to have higher box office). On the RT site, the default sort is by release date. Unfortunately, there isn't a way to specify how you want the movies sorted.
This should be better documented, I'll make sure to update the documentation later this weekend.
-Steve
12aon – 1 year ago
Hi Steve,
Thanks for the swift reply. I'm trying create a movie recommendation based upon the best rating for the movie that were in theaters this past week. Would you know an alternative way of getting that information?
12aon – 1 year ago
If I may be so tacky, could you also shine your light on this subject:
http://developer.rottentomatoes.com/forum/read/110757/
Steve N. – 1 year ago
Hi 12aon,
Unfortunately, the endpoint doesn't provide as much fine grain control as you desire (show movies in theaters for the last week). But, what is being given should be usable for your situation. The movies shown in that list is "in theaters" and checking the release date can ensure that the movie was in theaters the previous week. It's a little more manual. Does that fit your use case?
-Steve
ps. I will comment on that other subject directly in that thread.
12aon – 1 year ago
Thank you Steve,
I guess it can be done that way I just have to make sure to download enough movies to get all of last weeks movies. That I can do,
Cheers