{"id":20968547,"url":"https://github.com/niklasberglund/ipinfo","last_synced_at":"2025-05-14T09:33:50.849Z","repository":{"id":14177842,"uuid":"16884018","full_name":"niklasberglund/ipinfo","owner":"niklasberglund","description":"A Bash shell-script wrapping the IP address information API of http://ipinfo.io","archived":false,"fork":false,"pushed_at":"2018-01-16T10:39:45.000Z","size":4,"stargazers_count":27,"open_issues_count":3,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-02T16:24:45.720Z","etag":null,"topics":["host","internet-protocol","ip","ip-address","ipinfo","isp","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/niklasberglund.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":"2014-02-16T12:08:33.000Z","updated_at":"2025-02-24T15:02:50.000Z","dependencies_parsed_at":"2022-07-10T00:16:36.541Z","dependency_job_id":null,"html_url":"https://github.com/niklasberglund/ipinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fipinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fipinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fipinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fipinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklasberglund","download_url":"https://codeload.github.com/niklasberglund/ipinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254112605,"owners_count":22016806,"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":["host","internet-protocol","ip","ip-address","ipinfo","isp","shell"],"created_at":"2024-11-19T03:13:56.429Z","updated_at":"2025-05-14T09:33:50.565Z","avatar_url":"https://github.com/niklasberglund.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ipinfo.sh\n======\nA Bash shell-script wrapping the IP address information API of http://ipinfo.io. For request limits and more info about their service see http://ipinfo.io/developers. At the time of writing this the limitation is 1000 requests per day.\n\nUsage\n------\n```\n$ ./ipinfo.sh -h\nUsage: ./ipinfo.sh [-f field] [IP address]\n -f field\tOnly output specified field's info. Run script without -f to see available fields.\n -h\t\t    Show this help text.\n```\n\nExamples\n------\n### Current IP address info\n```\n$ ./ipinfo.sh\nip: 125.71.208.203\nhostname: No Hostname\ncity: Chengdu\nregion: Sichuan\ncountry: CN\nloc: 30.6667,104.0667\norg: AS4134 Chinanet\n```\n\n### Specified IP address info\n```\n$ ./ipinfo.sh 173.194.127.233\nip: 173.194.127.233\nhostname: hkg03s16-in-f9.1e100.net\ncity: Mountain View\nregion: California\ncountry: US\nloc: 37.4192,-122.0574\norg: AS15169 Google Inc.\npostal: 94043\n```\n\n### Specify field (specified IP address)\n```\n$ ./ipinfo.sh -f city 173.194.127.233\nMountain View\n```\n\n### Specify field (current IP address)\n```\n$ ./ipinfo.sh -f ip\n117.175.141.105\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasberglund%2Fipinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklasberglund%2Fipinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasberglund%2Fipinfo/lists"}