public interface MovieService
| Modifier and Type | Method and Description |
|---|---|
List<Alias> |
getAliases(String id) |
Credits |
getCredits(String id) |
Movie |
getMovie(String id,
Extended extended) |
Ratings |
getRatings(String id) |
List<Release> |
getReleases(String id,
String country) |
List<Translation> |
getTranslation(String id,
String language) |
List<Translation> |
getTranslations(String id) |
@GET(value="/movies/{id}")
Movie getMovie(@Path(value="id")
String id,
@Query(value="extended")
Extended extended)
@GET(value="/movies/{id}/translations")
List<Translation> getTranslations(@Path(value="id")
String id)
@GET(value="/movies/{id}/translations/{language}")
List<Translation> getTranslation(@Path(value="id")
String id,
@Path(value="language")
String language)
@GET(value="/movies/{id}/releases/{country}")
List<Release> getReleases(@Path(value="id")
String id,
@Path(value="country")
String country)
Copyright © 2016-2017. All Rights Reserved.