All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.client.instance.DailyCraftingClient.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.client.instance

import com.bselzer.gw2.v2.model.daily.DailyCraftingId
import io.ktor.client.*

/**
 * The daily crafting client.
 * @see the wiki
 */
class DailyCraftingClient(httpClient: HttpClient, configuration: Gw2ClientConfiguration) : BaseClient(httpClient, configuration) {
    private companion object {
        const val DAILY_CRAFTING = "dailycrafting"
    }

    /**
     * @return the ids of the daily time gated recipes
     * @see the wiki
     */
    suspend fun ids(): List = getIds(path = DAILY_CRAFTING)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy