package com.jakewharton.trakt.services;

import com.jakewharton.trakt.entities.TvShow;

import java.util.List;

import retrofit.http.GET;
import retrofit.http.Path;

public interface SearchService {

    @GET("/search/shows.json/{apikey}/{query}")
    List<TvShow> shows(
            @Path("query") String query
    );

    @GET("/search/shows.json/{apikey}/{query}/{limit}")
    List<TvShow> shows(
            @Path("query") String query,
            @Path("limit") int limit
    );

    @GET("/search/shows.json/{apikey}/{query}/{limit}/seasons")
    List<TvShow> showsWithSeasons(
            @Path("query") String query,
            @Path("limit") int limit
    );

}

@@ -34,16 +34,61 @@
 vices;%0A%0A
+import com.jakewharton.trakt.entities.Movie;%0A
 import c
@@ -709,10 +709,177 @@
     );%0A%0A
+    @GET(%22/search/movies.json/%7Bapikey%7D/%7Bquery%7D/%7Blimit%7D%22)%0A    List%3CMovie%3E movies(%0A            @Path(%22query%22) String query,%0A            @Path(%22limit%22) int limit%0A    );%0A%0A
 %7D%0A

add movies search