aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-19 19:46:42 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-19 19:46:42 +0100
commit00ac626b27076397b79bcd4bdd934ab861ff05a5 (patch)
tree3f8c599746ce3863c4c341d00ef958bf1d42da2e /app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
parentc8a84acbec91678c14e23d8dfed20f26d9d0361e (diff)
Implementing TopAnimefeature/top_anime_handling
Copied the topmanga folder and transformed everything in it into top anime.
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
new file mode 100644
index 0000000..6d8669c
--- /dev/null
+++ b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
@@ -0,0 +1,11 @@
+package xyz.adjutor.aniki.topanime
+
+import retrofit2.http.GET
+import retrofit2.Call
+
+interface TopAnimeApi {
+
+ @GET("v3/top/anime")
+ fun getTopAnimeData(): Call<RestTopAnimeResponse>
+
+} \ No newline at end of file