Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pokeapi/pokekotlin
Kotlin (or Java, Scala, etc) client for PokeApi
https://github.com/pokeapi/pokekotlin
kotlin pokeapi wrapper
Last synced: 7 days 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 (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T06:37:42.000Z (almost 3 years ago)
- Last Synced: 2024-12-26T22:15:09.798Z (14 days ago)
- Topics: kotlin, pokeapi, wrapper
- Language: Kotlin
- Homepage:
- Size: 32.2 MB
- Stars: 171
- Watchers: 12
- Forks: 42
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Bintray](https://img.shields.io/bintray/v/sargunv/maven/pokekotlin)](https://bintray.com/sargunv/maven/pokekotlin)
[![License](https://img.shields.io/github/license/PokeAPI/pokekotlin)](https://github.com/PokeAPI/pokekotlin/blob/master/LICENSE)
[![Build](https://img.shields.io/github/workflow/status/pokeapi/pokekotlin/Java%20CI%20with%20Gradle)](https://github.com/PokeAPI/pokekotlin/actions?query=workflow%3A%22Java+CI+with+Gradle%22)
[![Codecov](https://img.shields.io/codecov/c/github/PokeAPI/pokekotlin)](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: ![Bintray](https://img.shields.io/bintray/v/sargunv/maven/pokekotlin?label)
```groovy
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/sargunv/maven' }
}
dependencies {
implementation 'me.sargunvohra.lib:pokekotlin:'
}
```