{"id":37134274,"url":"https://github.com/andsala/geoip","last_synced_at":"2026-01-14T15:40:03.328Z","repository":{"id":57578770,"uuid":"113845329","full_name":"andsala/geoip","owner":"andsala","description":"IP geolocation with ipdata.co","archived":false,"fork":false,"pushed_at":"2019-09-09T17:40:26.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T13:39:08.643Z","etag":null,"topics":["golang","ip","ipdata"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/andsala.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}},"created_at":"2017-12-11T10:29:45.000Z","updated_at":"2020-05-16T18:55:21.000Z","dependencies_parsed_at":"2022-09-26T19:11:05.519Z","dependency_job_id":null,"html_url":"https://github.com/andsala/geoip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/andsala/geoip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsala%2Fgeoip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsala%2Fgeoip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsala%2Fgeoip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsala%2Fgeoip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andsala","download_url":"https://codeload.github.com/andsala/geoip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsala%2Fgeoip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["golang","ip","ipdata"],"created_at":"2026-01-14T15:40:02.602Z","updated_at":"2026-01-14T15:40:03.303Z","avatar_url":"https://github.com/andsala.png","language":"Go","readme":"# geoip - IP geolocation with ipdata.co\n\n[![Build Status](https://travis-ci.org/andsala/geoip.svg?branch=master)](https://travis-ci.org/andsala/geoip)\n[![Go Report Card](https://goreportcard.com/badge/github.com/andsala/geoip)](https://goreportcard.com/report/github.com/andsala/geoip)\n[![codecov](https://codecov.io/gh/andsala/geoip/branch/master/graph/badge.svg)](https://codecov.io/gh/andsala/geoip)\n[![GoDoc](https://godoc.org/github.com/andsala/geoip/ipdata?status.svg)](https://godoc.org/github.com/andsala/geoip/ipdata)\n\n# Installation\n```sh\ngo get -u github.com/andsala/geoip\n```\n\n# Usage\n```sh\n$ geoip 8.8.8.8\nIP: 8.8.8.8\n   United States (US)\n   North America (NA)\n   Coordinates:     37.751, -97.822\n\n   Flag:            🇺🇸\n   Time zone:       America/Chicago, GMT-0500 (CDT)\n   Currency:        US Dollar (USD, $)\n   Languages:       English\n   Calling code:    +1\n\n   Organization:    Google LLC (google.com)\n   AS number:       AS15169\n   Threat:          None\n\n```\n\n## Options\n```\n--api-key value, -a value     ipdata.co api key [$GEOIP_API_KEY]\n--ip-only, --ip               Print current public IP and exit\n--json, -j                    Print pure json\n--no-color                    Disable color and emoji output [$NO_COLOR] (http://no-color.org)\n--user-agent value, -u value  HTTP user agent [$GEOIP_USER_AGENT]\n--help, -h                    show help\n--version, -v                 print the version\n```\n\n# License\nThis project is distributed under the [MIT License](https://github.com/andsala/geoip/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandsala%2Fgeoip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandsala%2Fgeoip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandsala%2Fgeoip/lists"}