Package-level declarations

Types

Link copied to clipboard
data class Credential(val email: String, val password: String)

User credential used to log in into the developer website.

Link copied to clipboard
class SafeSet<T>(c: Collection<T> = emptySet())

A thread-safe set implementation.

Properties

Link copied to clipboard
const val API_BASE_URL: String

The base clash of clans api URL

Link copied to clipboard

The base developer site URL

Functions

Link copied to clipboard
fun adjustTag(tag: String, prefix: String = "#"): String

Adjusts the provided tag to make it suitable for use in the Clash of Clans API.

Link copied to clipboard

Encodes the provided tag for use in URLs.