andrewmd5 / Netflix-Roulette-API

Everything for the http://netflixroulette.net/ API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Field to determine if streaming or not?

paulgfrey opened this issue · comments

Is there a field present in the API call "http://netflixroulette.net/api/v2/usa/movie" to determine if a movie is streaming or not? Is it somehow derived from the field "netflix_results->available"?

I believe the API is only for currently streaming titles.

For example, 'Workaholics' is no longer streaming but IS available on Netflix DVD.

But http://netflixroulette.net/api/api.php?title=workaholics returns:
{"errorcode":404,"message":"Sorry! We couldn't find a movie with that title!"}

Maybe it's a problem with the scraping or a stale database. But I have a few movies that are coming back successful with netflix ID's but they are only available on DVD. I'm using the new V2 version of the API and the following netflix ID 70267490 is returning a success code of 200 but it's only available on DVD, not streaming:
{"results":1,"statuscode":200,"responsetime":0.0017,"netflix_results":[{"id":17672,"netflix_id":70267490,"title":"Concussion","year":2013,"cast":"Laila Robins,Daniel London,Ben Shenkman,Janel Moloney,Robin Weigert,Julie Fain Lawrence,Maggie Siff,Johnathan Tchaikovsky,Emily Kinney,Ashley Biel","rating":2.8,"category":"Dramas","available":1391241600,"poster":"http%3A%2F%2Fcdn1.nflximg.net%2Fimages%2F8375%2F4208375.jpg","imdb_info":[{"imdbID":"tt2296697","Title":"Concussion","Year":2013,"Rating":0,"Runtime":"96 min","Genre":"Drama","Released":"2013-12-05","Director":"Stacie Passon","Writer":"Stacie Passon","Cast":"Robin Weigert, Julie Fain Lawrence, Maren Shapero, Micah Shapero","Metacritic":"","imdbRating":"5.7","imdbVotes":"2340","Poster":"http://ia.media-imdb.com/images/M/MV5BMjMxNDAyODI0Ml5BMl5BanBnXkFtZTgwNTAzMTUzMDE@._V1_SX300.jpg","Plot":"After a blow to the head, Abby decides she can't do it anymore. Her life just can't be only about the house, the kids and the wife. She needs more: she needs to be Eleanor.","FullPlot":"After a blow to the head, Abby decides she can't do it anymore. Her life just can't be only about the house, the kids and the wife. She needs more: she needs to be Eleanor.","Language":"English","Country":"USA","Awards":"4 wins & 9 nominations.","lastUpdated":"2015-06-11 20:53:28.087000000","Type":"movie\r"},{"id":3322364,"imdbID":"tt3322364","Title":"Concussion","Year":2015,"Rating":0,"Runtime":"","Genre":"Drama, Sport","Released":"2015-12-25","Director":"Peter Landesman","Writer":"Peter Landesman, Jeanne Marie Laskas (magazine article)","Cast":"Will Smith, Adewale Akinnuoye-Agbaje, Gugu Mbatha-Raw, Luke Wilson","Metacritic":"","imdbRating":"","imdbVotes":"","Poster":"","Plot":"A look at how American football players suffer from major head injuries and life-long debilitating problems as a result of repeated concussions and efforts by the National Football League to deny it.","FullPlot":"A look at how American football players suffer from major head injuries and life-long debilitating problems as a result of repeated concussions and efforts by the National Football League to deny it.","Language":"","Country":"USA","Awards":"","lastUpdated":"2015-05-16 00:21:03.450000000","Type":"movie\r"}]}]}

I'm guessing its because its stale. I emailed him through his website about newer shows/movies not being in the database at all. (Examples: Daredevil, Jessica Jones, Ask Me Anything [movie]. Just to name a few).

I'm waiting for Netflix to release their global catalog before i spend a weekend rewriting the api again just to have it break, which is why I haven't been maintaining it as much.

That being said, soon I'll have all their content scraped and updated without much human interaction being needed.