Remove useless stuff

This commit is contained in:
Joren 2024-04-29 17:09:27 +02:00
parent d82cedd526
commit e7d53f67b0
Signed by untrusted user who does not match committer: Joren
GPG Key ID: 280E33DFBC0F1B55

View File

@ -0,0 +1,14 @@
package com.ti.mobpo.network
import com.ti.mobpo.data.PokemonDetails
import com.ti.mobpo.data.PokemonResponse
import retrofit2.http.GET
import retrofit2.http.Path
interface PokeApiService {
@GET("pokemon/?offset=0&limit=2000")
suspend fun getPokemon(): PokemonResponse
@GET("pokemon/{id}")
suspend fun getPokemonDetails(@Path("id") id: Int): PokemonDetails
}