https://github.com/pokeapi/pokekotlin
Kotlin (or Java, Scala, etc) client for PokeApi
https://github.com/pokeapi/pokekotlin
kotlin pokeapi wrapper
Last synced: about 2 months ago
JSON representation
Kotlin (or Java, Scala, etc) client for PokeApi
- Host: GitHub
- URL: https://github.com/pokeapi/pokekotlin
- Owner: PokeAPI
- License: apache-2.0
- Created: 2016-02-16T20:27:18.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T06:37:42.000Z (over 3 years ago)
- Last Synced: 2025-03-31T08:44:17.252Z (3 months ago)
- Topics: kotlin, pokeapi, wrapper
- Language: Kotlin
- Homepage:
- Size: 32.2 MB
- Stars: 174
- Watchers: 11
- Forks: 43
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://bintray.com/sargunv/maven/pokekotlin)
[](https://github.com/PokeAPI/pokekotlin/blob/master/LICENSE)
[](https://github.com/PokeAPI/pokekotlin/actions?query=workflow%3A%22Java+CI+with+Gradle%22)
[](https://codecov.io/gh/PokeAPI/pokekotlin)# PokeKotlin
Maintainer: [sargunv](https://github.com/sargunv)
This is a [Kotlin](https://kotlinlang.org/) (and Java, Scala, etc) client for [PokeApi](https://github.com/PokeAPI/pokeapi). It's written in Kotlin.
## Example
Full documentation coming ~~soon~~. Meanwhile, look at these usage examples:
### Java
```java
public class Example {
public static void main(String[] args) {
PokeApi pokeApi = new PokeApiClient();
PokemonSpecies bulbasaur = pokeApi.getPokemonSpecies(1);
System.out.println(bulbasaur);
}
}
```### Kotlin
```kotlin
fun main(args: Array) {
val pokeApi = PokeApiClient()
val bulbasaur = pokeApi.getPokemonSpecies(1)
println(bulbasaur)
}
```## Download
PokeKotlin is available from Bintray. The latest version number is: 
```groovy
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/sargunv/maven' }
}
dependencies {
implementation 'me.sargunvohra.lib:pokekotlin:'
}
```