diff options
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/anime')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt | 12 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt | 11 |
2 files changed, 0 insertions, 23 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 deleted file mode 100644 index 028097a..0000000 --- a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt +++ /dev/null @@ -1,12 +0,0 @@ -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 diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt deleted file mode 100644 index aa15dfd..0000000 --- a/app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt +++ /dev/null @@ -1,11 +0,0 @@ -package xyz.adjutor.aniki.anime - -import com.google.gson.annotations.SerializedName - -class RestAnimeResponse{ //only kept the infos I didn't have and that were interesting to me. - - @SerializedName("mal_id") - var mal_id: Int? = null - @SerializedName("synopsis") - var synopsis: String? = null -} |