com.uwetrottmann.trakt5.services.Genres Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trakt-java Show documentation
Show all versions of trakt-java Show documentation
trakt-java is a retrofit2 based wrapper around the trakt API v2.
package com.uwetrottmann.trakt5.services;
import com.uwetrottmann.trakt5.entities.Genre;
import retrofit2.Call;
import retrofit2.http.GET;
import java.util.List;
public interface Genres {
/**
* Get a list of all genres for shows, including names and slugs.
*/
@GET("genres/movies")
Call> movies();
/**
* Get a list of all genres for movies, including names and slugs.
*/
@GET("genres/shows")
Call> shows();
}