I'm using python with requests/bs4/flask and I'd like to identify the user type of an incoming IP request to my flask app.
http://ipleak.net identifies the type as residential, college, cafe, corporate, ect but they only check your IP.
GeoIP2 is the API that drives ipleak.net for this and the returned parameter is called User Type.
How do I identify an IP type without using their API? I'm okay with less accuracy/classification. Is there a public API for this? Or can I scrape it from a whois DB? Or can I identify it in another way?