Skip to content

loiane/pokekotlin

 
 

Repository files navigation

Build Status Download

PokeKotlin

This is a Java (and Kotlin, Scala, etc) client for PokeApi. It's written in Kotlin.

Example

Full documentation coming soon. Meanwhile, look at these usage examples:

Java

public class Example {
    public static void main(String[] args) {
        PokeApi pokeApi = new PokeApiClient();
        PokemonSpecies bulbasaur = pokeApi.getPokemonSpecies(1);
        System.out.println(bulbasaur);
    }
}

Kotlin

fun main(args: Array<String>) {
    val pokeApi = PokeApiClient()
    val bulbasaur = pokeApi.getPokemonSpecies(1)
    println(bulbasaur)
}

Download

PokeKotlin is available from the JCenter repository.

Gradle

dependencies {
    compile 'me.sargunvohra.lib:pokekotlin:2.2.4'
}

Kobalt

val p = project {
    dependencies {
        compile("me.sargunvohra.lib:pokekotlin:2.2.4")
    }
}

About

Java (or Kotlin, Scala, etc) client for PokeApi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.8%
  • Other 0.2%