Skip to content

Instantly share code, notes, and snippets.

@passiondroid
Created April 6, 2018 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passiondroid/82b091624268d9b39662571f4bddc306 to your computer and use it in GitHub Desktop.
Save passiondroid/82b091624268d9b39662571f4bddc306 to your computer and use it in GitHub Desktop.
public interface MoviesService {
@GET("v2/movies/trending")
Call<List<Movie>> getMovies();
@GET("v2/movies/{movieId}/casts")
Call<List<Cast>> getCasts(@Path(movieId) String movieId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment