{"id":21945880,"url":"https://github.com/ip2location/ip2location-lookup","last_synced_at":"2025-04-22T21:26:12.250Z","repository":{"id":62571465,"uuid":"307902796","full_name":"ip2location/ip2location-lookup","owner":"ip2location","description":"A free standalone software that enables end-users to detect country, region, city, latitude, longitude, ZIP code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, MCC, MNC, mobile brand name, elevation, usage type, address type and IAB category by using an IP address. ","archived":false,"fork":false,"pushed_at":"2024-01-03T05:56:26.000Z","size":11,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-18T21:16:50.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ip2location.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-10-28T04:04:41.000Z","updated_at":"2024-07-05T10:48:31.000Z","dependencies_parsed_at":"2024-01-03T06:39:46.029Z","dependency_job_id":"a6c27123-1389-4bfe-9a8a-7d0561f88ba0","html_url":"https://github.com/ip2location/ip2location-lookup","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"c8de36e58c259f8d272a61a4f0db376952d3663d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ip2location","download_url":"https://codeload.github.com/ip2location/ip2location-lookup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250326749,"owners_count":21412311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T04:19:58.900Z","updated_at":"2025-04-22T21:26:12.229Z","avatar_url":"https://github.com/ip2location.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IP2Location\n\n## THIS IP2LOCATION LOOKUP HAS BEEN INTEGRATED INTO IP2LOCATION C LIBRARY. PLEASE VISIT [IPL2ocation C Library](https://github.com/chrislim2888/IP2Location-C-Library) FOR THE LATEST RELEASE\n\nIP2Location is a tool allowing user to get IP address information such as country, region, city, \nlatitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, \nmobile network, elevation, usage type, address type and IAB category by IP address (IPv4 or IPv6) from IP2Location BIN database. \n\nFor more details, please visit:  \nhttps://www.ip2location.com/free/applications  \n\n\n\n### Installation\n\n1. Download or clone this repository to your local machine.\n\n   ```bash\n   wget https://github.com/ip2location/ip2location-lookup/archive/master.zip\n   unzip master.zip \u0026\u0026 rm master.zip\n   cd ip2location-lookup\n   ```\n\n   \n\n2. Download the latest IP2Location C library from https://github.com/chrislim2888/IP2Location-C-Library\n\n   ```bash\n   wget https://github.com/chrislim2888/IP2Location-C-Library/archive/master.zip\n   unzip master \u0026\u0026 rm master.zip\n   ```\n\n   \n\n3. Copy the `libIP2Location` directory from the C library.\n\n   ```bash\n   cp -r IP2Location-C-Library-master/libIP2Location .\n   ```\n\n   \n\n4. Start compilation and installation.\n\n   ```bash\n   chmod +x autogen.sh\n   ./autogen.sh\n   ./configure\n   make\n   make install\n   ```\n\n   \n\n\nUsage\n-----\nQuery an IP address and display the result \n\n```\nip2location -d [IP2LOCATION BIN DATA PATH] --ip [IP ADDRESS]  \n```\n\n\n\nQuery all IP addresses from an input file and display the result\n\n```\nip2location -d [IP2LOCATION BIN DATA PATH] -i [INPUT FILE PATH]  \n```\n\n\n\nQuery all IP addresses from an input file and display the result in XML format \n\n```\nip2location -d [IP2LOCATION BIN DATA PATH] -i [INPUT FILE PATH] --format XML  \n```\n\n\n\n\nDownload More Sample Databases  \n------------------------------  \n```bash\nwget https://www.ip2location.com/downloads/sample.bin.db25.zip\nunzip samples-db25.zip\n```\n\n\n\n\nSupport \n------- \nEmail: support@ip2location.com  \nURL: https://www.ip2location.com  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fip2location%2Fip2location-lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-lookup/lists"}