Maintainer: sargunv
This is a Kotlin (and Java, Scala, etc) client for PokeApi. It's written in Kotlin.
Full documentation coming soon. Meanwhile, look at these usage examples:
public class Example {
public static void main(String[] args) {
PokeApi pokeApi = new PokeApiClient();
PokemonSpecies bulbasaur = pokeApi.getPokemonSpecies(1);
System.out.println(bulbasaur);
}
}
fun main(args: Array<String>) {
val pokeApi = PokeApiClient()
val bulbasaur = pokeApi.getPokemonSpecies(1)
println(bulbasaur)
}
PokeKotlin is available from Bintray. The latest version number is:
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/sargunv/maven' }
}
dependencies {
implementation 'me.sargunvohra.lib:pokekotlin:<VERSION>'
}