summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/data/manga
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/data/manga')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt13
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt13
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt13
3 files changed, 0 insertions, 39 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt
deleted file mode 100644
index a0f8df1..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package xyz.adjutor.aniki.data.manga
-
-import retrofit2.Call
-import retrofit2.http.GET
-import retrofit2.http.Path
-import xyz.adjutor.aniki.presentation.model.manga.MangaResponse
-
-interface MangaApi {
-
- @GET("v3/manga/{id}")
- fun getMangaData(@Path("id") id: String): Call<MangaResponse>
-
-} \ No newline at end of file
diff --git a/app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt
deleted file mode 100644
index 6cc2d77..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package xyz.adjutor.aniki.data.manga
-
-import retrofit2.Call
-import retrofit2.http.GET
-import retrofit2.http.Query
-import xyz.adjutor.aniki.presentation.model.manga.SearchMangaResponse
-
-interface SearchMangaApi {
-
- @GET("v3/search/manga")
- fun getSearchMangaData(@Query("q") q: String): Call<SearchMangaResponse>
-
-} \ No newline at end of file
diff --git a/app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt
deleted file mode 100644
index 222dce3..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package xyz.adjutor.aniki.data.manga
-
-import retrofit2.Call
-import retrofit2.http.GET
-import retrofit2.http.Path
-import xyz.adjutor.aniki.presentation.model.manga.TopMangaResponse
-
-interface TopMangaApi {
-
- @GET("v3/top/manga/{page}")
- fun getTopMangaData(@Path("page") page: Int): Call<TopMangaResponse>
-
-} \ No newline at end of file