{"id":21945936,"url":"https://github.com/ip2location/ip2location-resty","last_synced_at":"2026-01-12T09:49:52.503Z","repository":{"id":42180805,"uuid":"440440660","full_name":"ip2location/ip2location-resty","owner":"ip2location","description":"IP2Location geolocation library for OpenResty","archived":false,"fork":false,"pushed_at":"2025-03-18T01:31:23.000Z","size":53,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T21:16:50.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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":"Changes.md","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":"2021-12-21T08:16:39.000Z","updated_at":"2025-03-18T01:31:26.000Z","dependencies_parsed_at":"2024-01-03T07:29:40.161Z","dependency_job_id":"e51d4872-821e-43f8-aa9c-9bd56fca43ab","html_url":"https://github.com/ip2location/ip2location-resty","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-resty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-resty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-resty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-resty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ip2location","download_url":"https://codeload.github.com/ip2location/ip2location-resty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250327179,"owners_count":21412385,"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:20:26.997Z","updated_at":"2026-01-12T09:49:52.494Z","avatar_url":"https://github.com/ip2location.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IP2Location OpenResty Package\r\n[![OPM Version](https://img.shields.io/opm/v/ip2location/ip2location-resty)](https://opm.openresty.org/package/ip2location/ip2location-resty/)\r\n\r\nThis OpenResty package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, usage type, address type, IAB category, district, autonomous system number (ASN) and autonomous system (AS) from IP address by using IP2Location database. This package uses a file based database available at IP2Location.com. This database simply contains IP blocks as keys, and other information such as country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, usage type, address type, IAB category, district, autonomous system number (ASN), autonomous system (AS), AS domain, AS usage type and AS CIDR as values. It supports both IP address in IPv4 and IPv6.\r\n\r\nThis package can be used in many types of projects such as:\r\n\r\n - select the geographically closest mirror\r\n - analyze your web server logs to determine the countries of your visitors\r\n - credit card fraud detection\r\n - software export controls\r\n - display native language and currency \r\n - prevent password sharing and abuse of service \r\n - geotargeting in advertisement\r\n\r\nThe database will be updated on a monthly basis for greater accuracy. Free LITE databases are available at https://lite.ip2location.com/ upon registration.\r\n\r\nThe paid databases are available at https://www.ip2location.com under Premium subscription package.\r\n\r\n\r\n## Developer Documentation\r\nTo learn more about installation, usage, and code examples, please visit the developer documentation at [https://ip2location-resty.readthedocs.io/en/latest/](https://ip2location-resty.readthedocs.io/en/latest/).\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-resty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fip2location%2Fip2location-resty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-resty/lists"}