def apiHandler(path): """API endpoint Support /ipAddress and /domainName """ ipaddr = path jsonipdata=iplookup(ipaddr); return processPage(jsonipdata)
def index(): """default endpoint Listing the current vistor information """ ipaddr = remote_addr(request) jsonipdata=iplookup(ipaddr); return processPage(jsonipdata)
def apiHandler(path): ipaddr = path jsonipdata=iplookup(ipaddr); return processPage(jsonipdata)
def index(): ipaddr = remote_addr(request) jsonipdata=iplookup(ipaddr); return processPage(jsonipdata)
def apiHandler(path): ipaddr = path jsonipdata = iplookup(ipaddr) return processPage(jsonipdata)
def index(): ipaddr = remote_addr(request) jsonipdata = iplookup(ipaddr) return processPage(jsonipdata)