{"id":21945930,"url":"https://github.com/ip2location/ip2location-ocaml","last_synced_at":"2025-10-10T01:32:36.229Z","repository":{"id":61347212,"uuid":"550565868","full_name":"ip2location/ip2location-ocaml","owner":"ip2location","description":"IP2Location IP Geolocation OCaml module enables you to get your visitors' 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 based on IP address.","archived":false,"fork":false,"pushed_at":"2025-09-08T01:30:36.000Z","size":1563,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-08T03:29:58.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-13T01:21:42.000Z","updated_at":"2025-09-08T01:30:12.000Z","dependencies_parsed_at":"2024-01-03T07:27:00.186Z","dependency_job_id":"a1df366b-b105-46e1-969f-f0dc2953248c","html_url":"https://github.com/ip2location/ip2location-ocaml","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ip2location/ip2location-ocaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ip2location","download_url":"https://codeload.github.com/ip2location/ip2location-ocaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fip2location-ocaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002406,"owners_count":26083374,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:21.933Z","updated_at":"2025-10-10T01:32:36.224Z","avatar_url":"https://github.com/ip2location.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IP2Location OCaml Module\r\n\r\n[![Static Badge](https://img.shields.io/badge/OPAM-ip2location-blue)](https://opam.ocaml.org/packages/ip2location/)\r\n\r\nThis OCaml module 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 module 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 module 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 in monthly basis for the 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# Developer Documentation\r\n\r\nTo learn more about installation, usage, and code examples, please visit the developer documentation at [https://ip2location-ocaml.readthedocs.io/en/latest/index.html](https://ip2location-ocaml.readthedocs.io/en/latest/index.html).\r\n\r\n## IPv4 BIN vs IPv6 BIN\r\n\r\nUse the IPv4 BIN file if you just need to query IPv4 addresses.\r\n\r\nUse the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fip2location%2Fip2location-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fip2location-ocaml/lists"}