import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
waap_ip_country_attacks = client.waap.ip_info.list_attacked_countries(
ip="192.168.1.1",
)
print(waap_ip_country_attacks)
Copy
Ask AI
[
{
"country": "<string>",
"count": 123
}
]
IP Spotlight
Get a list of countries attacked by a specific IP
Retrieve a list of countries attacked by the specified IP address
GET
/
waap
/
v1
/
ip-info
/
attack-map
Python
Copy
Ask AI
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
waap_ip_country_attacks = client.waap.ip_info.list_attacked_countries(
ip="192.168.1.1",
)
print(waap_ip_country_attacks)