{"id":15713514,"url":"https://github.com/geocrystal/ipapi-crystal","last_synced_at":"2026-02-16T04:03:20.917Z","repository":{"id":231676641,"uuid":"782399403","full_name":"geocrystal/ipapi-crystal","owner":"geocrystal","description":"Crystal bindings for https://ipapi.co (IP Address Location \u0026 Geolocation API)","archived":false,"fork":false,"pushed_at":"2025-11-24T09:07:18.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T21:44:06.828Z","etag":null,"topics":["crystal","geolocation","geolocation-api","ipaddress","ipapi","ipapi-co"],"latest_commit_sha":null,"homepage":"https://geocrystal.github.io/ipapi-crystal/","language":"Crystal","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/geocrystal.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":"2024-04-05T08:17:18.000Z","updated_at":"2025-11-24T09:07:05.000Z","dependencies_parsed_at":"2024-06-01T18:50:17.882Z","dependency_job_id":"872ec81b-5527-4bd4-ba9d-3e62b609394b","html_url":"https://github.com/geocrystal/ipapi-crystal","commit_stats":null,"previous_names":["geocrystal/ipapi-crystal"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/geocrystal/ipapi-crystal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocrystal%2Fipapi-crystal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocrystal%2Fipapi-crystal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocrystal%2Fipapi-crystal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocrystal%2Fipapi-crystal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geocrystal","download_url":"https://codeload.github.com/geocrystal/ipapi-crystal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocrystal%2Fipapi-crystal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29499809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T03:57:51.541Z","status":"ssl_error","status_checked_at":"2026-02-16T03:55:59.854Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["crystal","geolocation","geolocation-api","ipaddress","ipapi","ipapi-co"],"created_at":"2024-10-03T21:31:51.849Z","updated_at":"2026-02-16T04:03:20.912Z","avatar_url":"https://github.com/geocrystal.png","language":"Crystal","readme":"# ipapi-crystal\n\n[![Crystal CI](https://github.com/geocrystal/ipapi-crystal/actions/workflows/crystal.yml/badge.svg)](https://github.com/geocrystal/ipapi-crystal/actions/workflows/crystal.yml)\n[![GitHub release](https://img.shields.io/github/release/geocrystal/ipapi-crystal.svg)](https://github.com/geocrystal/ipapi-crystal/releases)\n[![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://geocrystal.github.io/ipapi-crystal/)\n[![License](https://img.shields.io/github/license/geocrystal/ipapi-crystal.svg)](https://github.com/geocrystal/ipapi-crystal/blob/main/LICENSE)\n\nCrystal bindings for \u003chttps://ipapi.co\u003e (IP Address Location \u0026 Geolocation API)\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     ipapi:\n       github: geocrystal/ipapi-crystal\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"ipapi\"\n\nclient = Ipapi::Client.new\n\nlocation = client.locate(\"8.8.8.8\")\n# =\u003e #\u003cIpapi::Location:0x780aff839b40 @ip=\"8.8.8.8\", @network=\"8.8.8.0/24\", @version=\"IPv4\", @city=\"Mountain View\", @region=\"California\", @region_code=\"CA\", @country=\"US\", @country_name=\"United States\", @country_code=\"US\", @country_code_iso3=\"USA\", @country_capital=\"Washington\", @country_tld=\".us\", @continent_code=\"NA\", @in_eu=false, @postal=\"94043\", @latitude=37.42301, @longitude=-122.083352, @timezone=\"America/Los_Angeles\", @utc_offset=\"-0700\", @country_calling_code=\"+1\", @currency=\"USD\", @currency_name=\"Dollar\", @languages=\"en-US,es-US,haw,fr\", @country_area=9629091.0, @country_population=327167434, @asn=\"AS15169\", @org=\"GOOGLE\"\u003e\n\nlocation.ip                   # \"8.8.8.8\"\nlocation.network              # \"8.8.8.0/24\"\nlocation.version              # \"IPv4\"\nlocation.city                 # \"Mountain View\"\nlocation.region               # \"California\"\nlocation.region_code          # \"CA\"\nlocation.country              # \"US\"\nlocation.country_name         # \"United States\"\nlocation.country_code         # \"US\"\nlocation.country_code_iso3    # \"USA\"\nlocation.country_capital      # \"Washington\"\nlocation.country_tld          # \".us\"\nlocation.continent_code       # \"NA\"\nlocation.in_eu?               # false\nlocation.postal               # \"95843\"\nlocation.latitude             # 37.42301\nlocation.longitude            # -122.083352\nlocation.timezone             # \"America/Los_Angeles\"\nlocation.utc_offset           # \"-0700\"\nlocation.country_calling_code # \"+1\"\nlocation.currency             # \"USD\"\nlocation.currency_name        # \"Dollar\"\nlocation.languages            # \"en-US,es-US,haw,fr\"\nlocation.country_area         # 9629091.0\nlocation.country_population   # 327167434\nlocation.asn                  # \"AS7065\"\nlocation.org                  # \"SNIC\"\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/geocrystal/ipapi-crystal/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Anton Maminov](https://github.com/mamantoha) - creator and maintainer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocrystal%2Fipapi-crystal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeocrystal%2Fipapi-crystal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocrystal%2Fipapi-crystal/lists"}