diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-05-19 10:12:39 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-05-19 10:12:39 +0200 |
commit | cccf03dbafbb5605f530e14912dfa15418d22db0 (patch) | |
tree | 366dcab01a2a6ab40fed72cc25cf1bb4368c9589 /app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt | |
parent | 67be76376ab6263ec1d97ea68d561bf90844df9d (diff) | |
parent | 8ede9457fd21ac5e272e73f5ece1d4bc9c23faab (diff) |
Merge branch 'release/3.2'v3.2.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt new file mode 100644 index 0000000..6ff1439 --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt @@ -0,0 +1,13 @@ +package xyz.adjutor.aniki.data + +import retrofit2.Call +import retrofit2.http.GET +import retrofit2.http.Query +import xyz.adjutor.aniki.presentation.model.response.SearchAnimeResponse + +interface SearchAnimeApi { + + @GET("v3/search/anime") + fun getSearchAnimeData(@Query("q") q: String): Call<SearchAnimeResponse> + +}
\ No newline at end of file |