iplookup documentation

main.apiHandler(path)

API endpoint

Support /ipAddress and /domainName

main.index()

default endpoint

Listing the current vistor information

main.processPage(jsonipdata)

Helper function to process longitude and latitude and render the page

Parameters:jsonipdata (str) – json string
main.remote_addr(request)

Get the IP address of the visiting client

gist source: https://gist.github.com/coreydowning/4099188

Return type:str
Returns:ip address
iplookup.iplookup(ipaddr)

Calls to http://ip-api.com/docs/ API

Parameters:ipaddr (str) – ip address
Return type:str
Returns:json string
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.