Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OWASP/Python-Honeypot
/ get_area_code
Method
get_area_code
lib/ip2location/IP2Location.py:196–199 ·
view source on GitHub ↗
Get area_code
(self, ip)
Source
from the content-addressed store, hash-verified
194
return
rec and rec.idd_code
195
196
def
get_area_code(self, ip):
197
""
" Get area_code "
""
198
rec = self.get_all(ip)
199
return
rec and rec.area_code
200
201
def
get_weather_code(self, ip):
202
""
" Get weather_code "
""
Callers
nothing calls this directly
Calls
1
get_all
Method · 0.95
Tested by
no test coverage detected