All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.uwetrottmann.tmdb2.services.GenreService Maven / Gradle / Ivy

There is a newer version: 2.11.0
Show newest version
package com.uwetrottmann.tmdb2.services;

import com.uwetrottmann.tmdb2.entities.GenreResults;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface GenreService {

    /**
     * Get the list of movie genres.
     *
     * @param language Optional. ISO 639-1 code.
     */
    @GET("genre/movie/list")
    Call movie(
            @Query("language") String language
    );

    /**
     * Get the list of TV genres.
     *
     * @param language Optional. ISO 639-1 code.
     */
    @GET("genre/tv/list")
    Call tv(
            @Query("language") String language
    );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy