Telepath API
- class synmods.maxmind.service.MaxMindApi
Bases:
CellApi
,StormSvc
A Telepath API for the MaxMind service.
- async queryIp(ip)
Query the MaxMind database for an IP address.
- Parameters:
ip (str) – IPv4 or IPv6 address.
Notes
The results dictionary contains the following keys:
- success
True or False, whether any elements of the query were successful.
- result
Dict to be used for enriching the IP node and optionally creating new nodes.
- mesg
String containing error/warning details or empty if successful.
- Returns:
Results dictionary.
- Return type:
dict