MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / get_idd_code

Method get_idd_code

lib/ip2location/IP2Location.py:191–194  ·  view source on GitHub ↗

Get idd_code

(self, ip)

Source from the content-addressed store, hash-verified

189 return rec and rec.netspeed
190
191 def get_idd_code(self, ip):
192 """ Get idd_code """
193 rec = self.get_all(ip)
194 return rec and rec.idd_code
195
196 def get_area_code(self, ip):
197 """ Get area_code """

Callers

nothing calls this directly

Calls 1

get_allMethod · 0.95

Tested by

no test coverage detected