get_country_code

Function get_country_code 

Source
pub async fn get_country_code(client_id: i32) -> Result<Text, Error>
Expand description

Uses the current IP address to find the current country. Returns two-letter ISO 3166-1 alpha-2 country code. Can be called before authorization

ยงArguments

  • client_id - The client id to send the request to