package com.nispok.tmdb;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

public interface TmdbService {

    /**
     * Get the list of movies playing that have been, or are being released this week.
     *
     * @param apiKey   API key.
     * @param page     Minimum 1, maximum 1000.
     * @param language ISO 639-1 code.
     * @return the list of movies playing that have been, or are being released this week.
     */
    @GET("movie/now_playing")
    Observable<MovieResults> nowPlayingMovies(@Query("api_key") String apiKey,
                                              @Query("page") int page,
                                              @Query("language") String language);

}

@@ -96,16 +96,34 @@
 ervable;
+%0Aimport rx.Single;
 %0A%0Apublic
@@ -732,10 +732,965 @@
 uage);%0A%0A
+    /**%0A     * Get the system wide configuration information. Some elements of the API require some%0A     * knowledge of this configuration data. The purpose of this is to try and keep the actual API%0A     * responses as light as possible. It is recommended you cache this data within your%0A     * application and check for updates every few days.%0A     * %3Cp/%3E%0A     * This method currently holds the data relevant to building image URLs as well as the change%0A     * key map.%0A     * %3Cp/%3E%0A     * To build an image URL, you will need 3 pieces of data. The base_url, size and file_path.%0A     * Simply combine them all and you will have a fully qualified URL. Here%E2%80%99s an example URL:%0A     * %3Cp/%3E%0A     * http://image.tmdb.org/t/p/w500/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg%0A     *%0A     * @param apiKey API key.%0A     * @return system wide configuration information.%0A     */%0A    @GET(%22configuration%22)%0A    Single%3CConfiguration%3E configuration(@Query(%22api_key%22) String apiKey);%0A
 %7D%0A

add configuration service