Skip to content

Our IP Geolocation API allows you to retrieve typical geo-information about an IP address such as ctiy, state, ISP, etc... but more uniquely allows you to retrieve the business sector (such as manufacturing, health, education, etc.) that the IP address is attributed to.

License

Notifications You must be signed in to change notification settings

IPGeo-API/IPGeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPGeo

About IPGeo

The IPGeo repository on GitHub is an pre-coded example of the usage of our IPGeoSearch library based on the IP geolocation API found on Our Webpage.

Feel Free to check out the IPGeoSearch library on GitHub for more information and ways to use our API!

We offer a 5 day free trial for our API on Our Webpage. To get the free trial API Key, contact our Lab and we will send it.

Requirements

Before running on your local computer, make sure you have python 3.6+ with the latest version of pandas and IPGeoSearch installed, your API Key, and ipList.txt in the same folder as the python file.

To Install Pandas, run

pip install pandas

To Install IPGeoSearch, run

pip install IPGeoSearch

Request.txt should be formatted in one IP address per line like such:

8.8.8.8
8.8.8.8
8.8.8.8
8.8.8.8
8.8.8.8

How To Use

Python Example

The results folder will have all the .json and .csv files stored in it after running.

To query IP using our sample file, run

python request.py

in your command prompt environment with the pandas installed.

Files named x.x.x.x.csv and x.x.x.x.json are saved which have the relevant information regarding your IP Search. Files are named with the IP in the file Name. An example csv for a search of Google's IP 8.8.8.8 would be named 8.8.8.8.csv.

About

Our IP Geolocation API allows you to retrieve typical geo-information about an IP address such as ctiy, state, ISP, etc... but more uniquely allows you to retrieve the business sector (such as manufacturing, health, education, etc.) that the IP address is attributed to.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages