login

suspend fun login()

Performs login into the Clash of Clans developer website using the provided credentials.

The function uses the requestHandler to perform the login request and handle the response. If the login is successful, temporary API keys are retrieved and filtered based on the current IP address.

Throws

if the provided login credentials are incorrect or invalid.