IMDB API
by Stavros Korokithakis
Well hello. I see you want to access IMDB programatically. Well, this is your chance.
This service is updated every day from the
IMDB data files and you
can access it with the ?name= URL parameter. For example,
this is the episode list (in JSON) for
How I Met Your Mother.
Instructions:
- Use the "name" GET parameter followed by the urlencoded show name. If there
are multiple shows with the same name, you can pass the "year" parameter as well
to select a year. The script can now return JSONP, you can pass the "callback"
parameter to get the data wrapped in a javascript function whose name is the
value of the callback parameter (example).
- The URL /js/ returns data as text/html and /json/ returns data as application/json.
Both use exactly the same parameters.
- You can use wildcards by using the percent sign, for example
"how i met % mother" will work.
- If there are multiple show names, you will get a list of the 15 first
that match your string (example).
- If the show was not found, you will get "null".
Have fun!