Skip to content
A Kotlin wrapper for Jikan REST API
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
README.md
build.gradle.kts
gradle.properties
gradlew
gradlew.bat
settings.gradle.kts

README.md

JikanKt

Discord Server CodeFactor

JikanKt Banner

API wrapper for Jikan API build using Kotlin + Kotlin DSL + Coroutines power 🚀

Installation

with Gradle

repositories {
    maven { url 'https://jitpack.io' }
}
    
dependencies {
    implementation 'com.github.GSculerlor:JikanKt:0.0.5'
}

with Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.github.GSculerlor</groupId>
    <artifactId>JikanKt</artifactId>
    <version>0.0.5</version>
</dependency>

Example

fun main() {
    val jikan: Jikan? = JikanBuilder()

    runBlocking {
        val anime = jikan.getAnime(38992)
        println(anime)
    }
}

Status

JikanKt is under heavily development after revived from eternal slumber. At this point, some of the endpoints maybe still not wrapped yet, so please stay tune! Also currently it only run on JVM, but don't worry, Kotlin multiplatform is already planned on next major release! Also test will added once all of the endpoint is mapped which is very very soon!

Contribution

Want to help? I'm very open to contributors so just do it or contact me if you have any question (Discord: Ganen#0124)

You can’t perform that action at this time.