Hi,
I am trying to retrieve all the user ratings using makeCustomerAuthorizedApiCall(consts.USER_URI + "/" + user_ID + "/ratings/title/actual", cust, null, NetflixAPIClient.GET_METHOD_TYPE);
I am able to get only the first 20 results. Any successive calls through this api call still retrieves the same 20 results. Is there any other parameter that I need to set for any successive calls? I tried using start_index and max_results, but still get the same 20. Can someone please let me know the exact way to get all the movie ratings from user account?
Getting ratings with the API is fine; what you see there is the last 20 ratings, same as what's available on the customer's RSS feed. Actually the Jinni thread probably isn't the best place to watch for details about the ratings API; we will announce changes on the developer blog.
We're almost ready to make full ratings pulls possible via the API and without violating the TOU. Besides making the ratings available in the API, we also need to change the TOU as they currently only allow you to retain this class of data for 24 hours, which is probably impractical in scenarios where you're pulling all ratings. We also feel that apps need to be clear with what they are doing with the retained data, e.g. do they offer the user the ability to purge the data, does the app synch ratings changes back to Netflix, how 5 star ratings are converted to other schemes, etc.
Hi, I looked at this request. If you don't specifically asking the ratings for a list of titles, the current behaviour is that we return your most recent ratings. That's why you just see 20 of them. But, if you would like to get more ratings for more titles, you could pass in the title list like below:
... and send a comma-separated list of the returned title ids over to http://api.netflix.com/users/id/ratings/title/actual as title_refs, as shown above. If your customer has more than 500 ratings, get 500 results per page with ?max_results=500&start_index=[500 * page number], until you've found them all.
Yes, okay, people do rate movies that they haven't actually rented from (or watched on) Netflix, and you won't get those. But I think a convincing argument could be made that they aren't as relevant....
Kent, unfortunately I'm not at all convinced that user ratings on un-rented movies aren't as relevant to the user - though I can see how Netflix corporate might consider they're not as relevant to Netflix.
I'm still one of those dinosaurs that watch movies I don't rent from Netflix - whether I'm watching movies at friends' houses where *they* rented the movie, or going to an actual theatre, or watching them on (shudder) commercial TV. Not to mention all the 100's of movies I've seen in the dark ages before Netflix came into being.
Yes, the older a movie's memory, the less *accurate* my rating of it might be compared to what I'd say if I saw it *today*, but there's plenty of variability in a user's ratings of even current movies - depending on mood, time of day watching, amount of distractions, size of screen (field of view), sound system used to replay the film... you get the idea. One individual rating shouldn't be treated as statistically significant - which is why the whole benefit of a huge history of ratings is to give as broad a view of the tastes of the user over a wide span of time and circumstances. Do *you* only have movies rated that you've actually rented through Netflix? I suspect not.
Hi @JR, would it be possible to provide us an update on the status of the "full ratings history" API? I'm stalled working on my app until Netflix is able to either (a) document the proposed RESTful API structures, or (b) make available a live API.
I'd really like to help you folks out, if there's any kind of external feedback/testing/documentation of the proposed API that someone other than yourself can help with. Or if there's other folks inside Netflix that need to know there are people waiting on the release of this API, please let them know we exist and are interested in helping motivate/accelerate/complete whatever work is keeping the API (which, by your assertion that of "non-technical hurdles", I'm assuming is pretty much baked) from seeing the light of day. They are most welcome to contact me as well.
Hi,
I am trying to retrieve all the user ratings using makeCustomerAuthorizedApiCall(consts.USER_URI + "/" + user_ID + "/ratings/title/actual", cust, null, NetflixAPIClient.GET_METHOD_TYPE);
I am able to get only the first 20 results. Any successive calls through this api call still retrieves the same 20 results. Is there any other parameter that I need to set for any successive calls? I tried using start_index and max_results, but still get the same 20. Can someone please let me know the exact way to get all the movie ratings from user account?
Thanks in advance.
Message edited by Ranker 2 years ago
Kent Brewster – 3 years ago
Sorry, as of right now we only return the viewer's 20 most recent ratings. We're working on it; please keep an eye on the Jinni thread, here:
http://developer.netflix.com/forum/read/49287
... for more news.
raghus – 3 years ago
Hi Kent,
Did NF object to Jinni because Jinni asked for the user credentials and then scraped Netflix.com?
Are all user ratings data verboten or just Jinni's method unacceptable? Is getting ratings via the API (incompletely to be sure) ok?
JR Conlin – 3 years ago
In short: yes. By asking for our customers credentials, they were in violation of our Terms of Service.
Kent Brewster – 3 years ago
Getting ratings with the API is fine; what you see there is the last 20 ratings, same as what's available on the customer's RSS feed. Actually the Jinni thread probably isn't the best place to watch for details about the ratings API; we will announce changes on the developer blog.
Michael Hart – 3 years ago
We're almost ready to make full ratings pulls possible via the API and without violating the TOU. Besides making the ratings available in the API, we also need to change the TOU as they currently only allow you to retain this class of data for 24 hours, which is probably impractical in scenarios where you're pulling all ratings. We also feel that apps need to be clear with what they are doing with the retained data, e.g. do they offer the user the ability to purge the data, does the app synch ratings changes back to Netflix, how 5 star ratings are converted to other schemes, etc.
priya – 3 years ago
Hi, I looked at this request. If you don't specifically asking the ratings for a list of titles, the current behaviour is that we return your most recent ratings. That's why you just see 20 of them. But, if you would like to get more ratings for more titles, you could pass in the title list like below:
http://api.netflix.com/users/id/ratings/title/actual?title_refs=http://api.netflix.com/catalog/titles/movies/70008346,http://api.netflix.com/catalog/titles/movies/60027428
This could go up to a max of 500 titles. Hope this helps, thanks.
Kent Brewster – 3 years ago
And that, my friends, is why Priya gets the big bucks. :)
To find ratings from your customer's rental history, start here:
http://api.netflix.com/users/[user_id]/rental_history?max_results=500
... and send a comma-separated list of the returned title ids over to http://api.netflix.com/users/id/ratings/title/actual as title_refs, as shown above. If your customer has more than 500 ratings, get 500 results per page with ?max_results=500&start_index=[500 * page number], until you've found them all.
Yes, okay, people do rate movies that they haven't actually rented from (or watched on) Netflix, and you won't get those. But I think a convincing argument could be made that they aren't as relevant....
Poseidon – 3 years ago
Kent, unfortunately I'm not at all convinced that user ratings on un-rented movies aren't as relevant to the user - though I can see how Netflix corporate might consider they're not as relevant to Netflix.
I'm still one of those dinosaurs that watch movies I don't rent from Netflix - whether I'm watching movies at friends' houses where *they* rented the movie, or going to an actual theatre, or watching them on (shudder) commercial TV. Not to mention all the 100's of movies I've seen in the dark ages before Netflix came into being.
Yes, the older a movie's memory, the less *accurate* my rating of it might be compared to what I'd say if I saw it *today*, but there's plenty of variability in a user's ratings of even current movies - depending on mood, time of day watching, amount of distractions, size of screen (field of view), sound system used to replay the film... you get the idea. One individual rating shouldn't be treated as statistically significant - which is why the whole benefit of a huge history of ratings is to give as broad a view of the tastes of the user over a wide span of time and circumstances. Do *you* only have movies rated that you've actually rented through Netflix? I suspect not.
JR Conlin – 3 years ago
Heh, well, good to know we all agree, then.
Pulling the rented ratings is kind of a short term work around until we can get past the non-technical hurdles of providing full ratings history.
Poseidon – 2 years ago
Hi @JR, would it be possible to provide us an update on the status of the "full ratings history" API? I'm stalled working on my app until Netflix is able to either (a) document the proposed RESTful API structures, or (b) make available a live API.
I'd really like to help you folks out, if there's any kind of external feedback/testing/documentation of the proposed API that someone other than yourself can help with. Or if there's other folks inside Netflix that need to know there are people waiting on the release of this API, please let them know we exist and are interested in helping motivate/accelerate/complete whatever work is keeping the API (which, by your assertion that of "non-technical hurdles", I'm assuming is pretty much baked) from seeing the light of day. They are most welcome to contact me as well.
Thanks, Mike