summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-19 10:12:39 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-19 10:12:39 +0200
commitcccf03dbafbb5605f530e14912dfa15418d22db0 (patch)
tree366dcab01a2a6ab40fed72cc25cf1bb4368c9589 /app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt
parent67be76376ab6263ec1d97ea68d561bf90844df9d (diff)
parent8ede9457fd21ac5e272e73f5ece1d4bc9c23faab (diff)
Merge branch 'release/3.2'v3.2.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt
new file mode 100644
index 0000000..6b679b7
--- /dev/null
+++ b/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.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.SearchMangaResponse
+
+interface SearchMangaApi {
+
+ @GET("v3/search/manga")
+ fun getSearchMangaData(@Query("q") q: String): Call<SearchMangaResponse>
+
+} \ No newline at end of file