SauceNao API

SauceNao API library

License

License

Categories

Categories

Data
GroupId

GroupId

dev.inmo
ArtifactId

ArtifactId

saucenaoapi-metadata
Last Version

Last Version

0.8.1
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

SauceNao API
SauceNao API library
Source Code Management

Source Code Management

https://github.com/insanusmokrassar/saucenaoapi.git

Download saucenaoapi-metadata

Dependencies

compile (4)

Group / Artifact Type Version
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.4.3
org.jetbrains.kotlinx : kotlinx-serialization-json jar 1.1.0
com.soywiz.korlibs.klock : klock jar 2.0.7
io.ktor : ktor-client-core jar 1.5.3

Project Modules

There are no modules declared in this project.

SauceNaoAPI

Download

It is wrapper for SauceNAO API. For now, library is in preview state. It can be fully used, but some of info can be unavailable from wrapper classes, but now you can access them via SauceNaoAnswer#row field.

Including

Gradle

implementation "dev.inmo:saucenaoapi:$saucenaoapi_version"

Requester

For the requests we are using SauceNaoAPI object. Unfortunately, for now it supports only url strings as source of request. For example:

val key = // here must be your Sauce NAO API key
val requestUrl = // here must be your link to some image

val api = SauceNaoAPI(key)
api.use {
    println(
        it.request(requestUrl)
    )
}

Most of others requests use the same etymology and meaning as in the SauceNAO API docs.

Versions

Version
0.8.1
0.8.0