summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 20:03:25 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 20:03:25 +0100
commit4012256bf91ccf02eb1871229f755beb26dad3de (patch)
treeae8521428bdde7750294d25c8e49a93df9e95f26 /app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
parent893c9110c99cff286011e3d35acb39ba65a97476 (diff)
parent494455de615340599cf2cdba0f3f199a47bf5a66 (diff)
Merge branch 'feature/elements_detail' into developrelease/2.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
new file mode 100644
index 0000000..028097a
--- /dev/null
+++ b/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
@@ -0,0 +1,12 @@
+package xyz.adjutor.aniki.anime
+
+import retrofit2.Call
+import retrofit2.http.GET
+import retrofit2.http.Path
+
+interface AnimeApi {
+
+ @GET("v3/anime/{id}")
+ fun getAnimeData(@Path("id") id: String): Call<RestAnimeResponse>
+
+} \ No newline at end of file