get_resource_geo_ratio – display geographic distribution of traffic during the last 5 minutes.
get_resource_geo_ratio – display geographic distribution of traffic during the last 5 minutes.
April 17, 2024
ID 206507
get_resource_geo_ratio(Auth, client_id, locale_id, resource_id)
Description: the method displays geographic distribution of traffic during the last 5 minutes.
Input parameters:
client_id (int) – customer ID (integer from 1 to 4 294 967 295).
locale_id (int) – locale ID (10 for English, 77 for Russian).
resource_id (int) – Protected resource ID (integer from 1 to 4 294 967 295).
Output parameters:
country (str) – name of the country in the specified locale.
value (str) – percentage of the country's IP addresses within inbound traffic of the Protected resource for the last 5 minutes.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.