Wrapper on multiplatform kotlin for SauceNaoAPI
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
InsanusMokrassar 47161eb4ff
Merge pull request #153 from InsanusMokrassar/0.14.0
1 month ago
.github/workflows Update build_and_publish.yml 2 months ago
gradle make LimitStatus and Limits to be comparable 1 month ago
kotlin-js-store recreate yarn.lock 9 months ago
src update SauceNaoAPI structure 1 month ago
.gitignore init + add header model 4 years ago
CHANGELOG.md update SauceNaoAPI structure 1 month ago
LICENSE Initial commit 4 years ago
README.md Update README.md 1 year ago
build.gradle migration onto toml and actualizing of publish scripts 11 months ago
changelog_parser.sh add changelog parser 2 years ago
github_release.gradle Update github_release.gradle 6 months ago
gradle.properties start 0.14.0 1 month ago
gradlew init + add header model 4 years ago
gradlew.bat init + add header model 4 years ago
publish.gradle Add files via upload 2 months ago
publish.kpsb Add files via upload 2 months ago
renovate.json Add renovate.json 2 years ago
settings.gradle migration onto toml and actualizing of publish scripts 11 months ago

README.md

SauceNaoAPI

Maven Central

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.