This project has moved. For the latest updates, please go here.

Get the mpaa movie rating for a movie

Mar 17, 2013 at 3:00 AM
I see that the API has a mpaa rating for each movie you search for:

GET http://api.themoviedb.org/3/movie/11/releases
{
 "countries": [{
  "certification": "PG",
  "iso_3166_1": "US",
  "release_date": "1977-05-25"
},
{
  "certification": "U",
  "iso_3166_1": "GB",
  "release_date": "1977-12-27"
},
How do i use your GetMovieReleases?

Image

Not sure what type of list its looking for me to define for my mpaa??

Any help would be great! Thanks!
Coordinator
Mar 19, 2013 at 11:33 AM
You can't supply the Language in the call to GetMovieReleases. Just remove the "US" from the call.
    Dim releases As WatTmdb.V3.TmdbMovieReleases = api.GetMovieReleases(movieID)
    For Each element In releases.countries
        Dim mpaa = element.certification
    Next