Skip to content

A crude implementation of the DuckDuckGo Instant Answer API for Kotlin

License

Notifications You must be signed in to change notification settings

chRyNaN/instant-answer

Repository files navigation

instant-answer

A crude implementation of the DuckDuckGo Instant Answer API for Kotlin

This library provides simple Kotlin models for DuckDuckGo's Instant Answer API. All fields in the models are considered nullable since the results seem to vary greatly depending on the request.

The DuckDuckGo Instant Answer API and Results from using the API are provided by DuckDuckGo and subject to their terms and conditions. Please refer to their documentation for more information on using their API. This library is not a product of DuckDuckGo and is independent from them. This library just provides data classes that can be used with results from the DuckDuckGo Instant Answer API.

Building

Core Kotlin Models:

implementation 'com.github.chRyNaN.instant-answer:core:VERSION'

Core Kotlin Models for JVM:

implementation 'com.github.chRyNaN.instant-answer:core-jvm:VERSION'

Core Kotlin Models for JS:

implementation 'com.github.chRyNaN.instant-answer:core-js:VERSION'

Serialization:

implementation 'com.github.chRyNaN.instant-answer:serialization:VERSION'

Serialization for JVM:

implementation 'com.github.chRyNaN.instant-answer:serialization-jvm:VERSION'

Serialization for JS:

implementation 'com.github.chRyNaN.instant-answer:serialization-js:VERSION'