kotlinkotlin-jskotlin-jvmkotlin-multiplatformkotlin-libraryhacktoberfesthacktoberfest2020saucenao-api
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.
|
1 month ago | |
---|---|---|
.github/workflows | 2 months ago | |
gradle | 1 month ago | |
kotlin-js-store | 9 months ago | |
src | 1 month ago | |
.gitignore | 4 years ago | |
CHANGELOG.md | 1 month ago | |
LICENSE | 4 years ago | |
README.md | 1 year ago | |
build.gradle | 11 months ago | |
changelog_parser.sh | 2 years ago | |
github_release.gradle | 6 months ago | |
gradle.properties | 1 month ago | |
gradlew | 4 years ago | |
gradlew.bat | 4 years ago | |
publish.gradle | 2 months ago | |
publish.kpsb | 2 months ago | |
renovate.json | 2 years ago | |
settings.gradle | 11 months ago |
README.md
SauceNaoAPI
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.