// Runnable example: ASN WHOIS Snapshot Status (GET /v3.3/status/snapshot/asn/whois) // Run it from the Getting Started project: gradle run -PmainClass=DbAsnWhoisStatusKt // Parameters for dbAsnWhoisStatus (GET /v3.3/status/snapshot/asn/whois): // (no parameters; the API key is set on the client) import com.whoisfreaks.client.apis.DatabasesASNWHOISApi import com.whoisfreaks.client.infrastructure.ApiClient fun main() { ApiClient.apiKey["apiKey"] = System.getenv("WHOISFREAKS_API_KEY") // set once, sent with every call val api = DatabasesASNWHOISApi() val result = api.dbAsnWhoisStatus() println(result) }