Netflix API Forums

I Need Help!

RSS Feed

retrieving info about a specific title

  1. The documentation is a little vague, it says to use catalog/titles/titleID, but what is titleID?

    But when I try it (using an ID grabbed from a http://api.netflix.com/users/userID/rental_history request) I don't get any results...

    I tried
    http://api.netflix.com/catalog/titles/70044689
    http://api.netflix.com/catalog/titles/http://api.netflix.com/catalog/titles/movies/70044689
    http://api.netflix.com/catalog/titles/http%3A%2F%2Fapi.netflix.com%2Fcatalog%2Ftitles%2Fmovies%2F70044689

    http://api.netflix.com/catalog/titles/movie/70044689
    http://api.netflix.com/catalog/titles/movie/http://api.netflix.com/catalog/titles/movies/70044689

    and they come back with:
    <catalog_titles>
    <link href="http://api.netflix.com/catalog/titles/index" rel="http://schemas.netflix.com/catalog/titles/index" title="index"></link>
    <link href="http://api.netflix.com/catalog/titles/autocomplete" rel="http://schemas.netflix.com/catalog/titles/autocomplete" title="autocomplete"></link>
    <url_template>http://api.netflix.com/catalog/titles?{-join|&|term|start_index|max_results}</url_template>
    </catalog_titles>

    ...

    Any ideas? Can I get an example to retrieve a title?

    Kallahar

    Message edited by Kallahar 6 months ago

  2. priya3 years ago

    Actually, you could get titleIDs by doing a title search.

    For example, if you do http://api.netflix.com/catalog/titles?term=Iron, you would get a list of titles starting with 'Iron'

    Eg.
    <catalog_titles>
    <catalog_title>
    <id>http://api.netflix.com/catalog/titles/movies/70080038</id><title short="Iron Man" regular="Iron Man"></title>
    ......
    </catalog_title>
    </catalog_titles>

    Here,you could use this id http://api.netflix.com/catalog/titles/movies/70080038 to request the title details for it.

    Hope this helps,
    Priya.

  3. cabhishek6 months ago

    why something like this wont work http://api.netflix.com/catalog/titles?term=soul kitchen ???

    i need to get title details based on title name and not title_id (since i dont have one). any suggestion on how i should go about with this very simple use case will be really helpful.

  4. Nicholas Clarkson6 months ago

    That request will work once properly signed using OAuth.

    <catalog_titles> <link href="http://api-nccp.netflix.com/catalog/titles/index" rel="http://schemas.netflix.com/catalog/titles/index" title="index"/> <link href="http://api-nccp.netflix.com/catalog/titles/autocomplete" rel="http://schemas.netflix.com/catalog/titles/autocomplete" title="autocomplete"/> <url_template> http://api-nccp.netflix.com/catalog/titles?{-join|&|term|start_index|max_results} </url_template> <number_of_results>2371</number_of_results> <start_index>0</start_index> <results_per_page>25</results_per_page> <catalog_title> <id> http://api.netflix.com/catalog/titles/movies/70125534 </id> <title short="Soul Kitchen" regular="Soul Kitchen"/> <box_art small="http://cdn-4.nflximg.com/en_us/boxshots/tiny/70125534.jpg" medium="http://cdn-4.nflximg.com/en_us/boxshots/small/70125534.jpg" large="http://cdn-4.nflximg.com/en_us/boxshots/large/70125534.jpg"/> <link href="http://api.netflix.com/catalog/titles/movies/70125534/synopsis" rel="http://schemas.netflix.com/catalog/titles/synopsis" title="synopsis"/> <release_year>2009</release_year> <category scheme="http://api.netflix.com/categories/mpaa_ratings" label="NR" term="NR"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Comedies" term="Comedies"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Dramas" term="Dramas"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Foreign Movies" term="Foreign Movies"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Romantic Movies" term="Romantic Movies"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Foreign Comedies" term="Foreign Comedies"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Romantic Comedies" term="Romantic Comedies"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Foreign Dramas" term="Foreign Dramas"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Romantic Dramas" term="Romantic Dramas"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Romantic Foreign Movies" term="Romantic Foreign Movies"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="German Movies" term="German Movies"/> <runtime>5940</runtime> <link href="http://api.netflix.com/catalog/titles/movies/70125534/cast" rel="http://schemas.netflix.com/catalog/people.cast" title="cast"/> <link href="http://api.netflix.com/catalog/titles/movies/70125534/directors" rel="http://schemas.netflix.com/catalog/people.directors" title="directors"/> <link href="http://api.netflix.com/catalog/titles/movies/70125534/format_availability" rel="http://schemas.netflix.com/catalog/titles/format_availability" title="formats"/> <link href="http://api.netflix.com/catalog/titles/movies/70125534/screen_formats" rel="http://schemas.netflix.com/catalog/titles/screen_formats" title="screen formats"/> <link href="http://api.netflix.com/catalog/titles/movies/70125534/languages_and_audio" rel="http://schemas.netflix.com/catalog/titles/languages_and_audio" title="languages and audio"/> <average_rating>3.5</average_rating> <link href="http://api.netflix.com/catalog/titles/movies/70125534/similars" rel="http://schemas.netflix.com/catalog/titles.similars" title="similars"/> <link href="http://www.netflix.com/Movie/Soul_Kitchen/70125534" rel="alternate" title="web page"/> </catalog_title> <catalog_title> <id> http://api.netflix.com/catalog/titles/series/70157288 </id> <title short="Ramsay's Kitchen Nightmares (U.K.)" regular="Ramsay's Kitchen Nightmares (U.K.)"/> <box_art small="http://cdn-8.nflximg.com/en_us/boxshots/tiny/70157288.jpg" medium="http://cdn-8.nflximg.com/en_us/boxshots/small/70157288.jpg" large="http://cdn-8.nflximg.com/en_us/boxshots/large/70157288.jpg"/> <link href="http://api.netflix.com/catalog/titles/series/70157288/synopsis" rel="http://schemas.netflix.com/catalog/titles/synopsis" title="synopsis"/> <release_year>2004</release_year> <category scheme="http://api.netflix.com/categories/tv_ratings" label="TV-14" term="TV-14"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="TV Shows" term="TV Shows"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="British TV Shows" term="British TV Shows"/> <category scheme="http://api-nccp.netflix.com/categories/genres" label="Reality TV" term="Reality TV"/> <link href="http://api.netflix.com/catalog/titles/series/70157288/cast" rel="http://schemas.netflix.com/catalog/people.cast" title="cast"/> <average_rating>4.1</average_rating> <link href="http://api.netflix.com/catalog/titles/series/70157288/seasons" rel="http://schemas.netflix.com/catalog/titles.seasons" title="seasons"/> <link href="http://api.netflix.com/catalog/titles/series/70157288/episodes" rel="http://schemas.netflix.com/catalog/titles.programs" title="episodes"/> <link href="http://api.netflix.com/catalog/titles/series/70157288/similars" rel="http://schemas.netflix.com/catalog/titles.similars" title="similars"/> <link href="http://www.netflix.com/Movie/Ramsay_s_Kitchen_Nightmares_U.K./70157288" rel="alternate" title="web page"/> </catalog_title> ...

  5. cabhishek6 months ago

    hey nick i was trying that here http://kentbrewster.com/netflix-api-explorer/ also i am using http://code.google.com/p/pyflix/source/browse/trunk/Netflix.py library in my code base and both fail to get me data with http://api.netflix.com/catalog/titles?term=soul kitchen but when i use ?term=soul i do get that data in the whole data set which i feel is overkill

    its surprising that you were able to get it. how did you test it ?

  6. cabhishek6 months ago

    thanks worked for me.. all i needed to do was encode URL correctly ..

    http://api.netflix.com/catalog/titles?term=soul%20dkitchen

[ Page 1 of 1 ]