import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)waap_top_user_agents = client.waap.ip_info.get_top_user_agents( domain_id=0, ip="192.168.1.1",)print(waap_top_user_agents)
Copy
Ask AI
[ { "user_agent": "<string>", "count": 123 }]
IP Spotlight
Fetch top user agents
Retrieve the top 10 user agents interacting with a specified domain, filtered by IP.
GET
/
waap
/
v1
/
ip-info
/
top-user-agents
Python
Copy
Ask AI
import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)waap_top_user_agents = client.waap.ip_info.get_top_user_agents( domain_id=0, ip="192.168.1.1",)print(waap_top_user_agents)