{"id":20550238,"url":"https://github.com/dnmfarrell/www-ipinfo","last_synced_at":"2026-05-26T20:02:22.772Z","repository":{"id":20884358,"uuid":"24171630","full_name":"dnmfarrell/WWW-ipinfo","owner":"dnmfarrell","description":null,"archived":false,"fork":false,"pushed_at":"2014-10-15T00:19:27.000Z","size":156,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T06:35:46.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zingchart/ZingChart","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnmfarrell.png","metadata":{"files":{"readme":"README.pod","changelog":"Changes","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-09-18T02:55:56.000Z","updated_at":"2015-08-05T02:16:41.000Z","dependencies_parsed_at":"2022-08-30T14:12:00.271Z","dependency_job_id":null,"html_url":"https://github.com/dnmfarrell/WWW-ipinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnmfarrell/WWW-ipinfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FWWW-ipinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FWWW-ipinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FWWW-ipinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FWWW-ipinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnmfarrell","download_url":"https://codeload.github.com/dnmfarrell/WWW-ipinfo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FWWW-ipinfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33536660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"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":[],"created_at":"2024-11-16T02:24:04.475Z","updated_at":"2026-05-26T20:02:22.732Z","avatar_url":"https://github.com/dnmfarrell.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=pod\n\n=encoding UTF-8\n\n=head1 NAME\n\nWWW::ipinfo - Returns your ip address and geolocation data using L\u003chttp://ipinfo.io\u003e\n\n=head1 VERSION\n\nversion 0.05\n\n=head1 SYNOPSIS\n\n    use WWW::ipinfo;\n\n    my $ipinfo = get_ipinfo();\n    my $city = $ipinfo-\u003e{city};\n\n=head1 EXPORTS\n\nExports the C\u003cget_ipinfo\u003e function.\n\n=head1 FUNCTIONS\n\n=head2 get_ipinfo\n\nReturns a hashref containing ip and geolocation data. Optionally you can provide an ip address argument to get a hashref for an IP that is not your own. Works with IPv4 and IPv6 addresses.\n\n    {\n      ip        =\u003e \"198.115.6.53\",\n      hostname\" =\u003e \"cpe-198-115-6-53.nyc.res.rr.com\",\n      city      =\u003e \"New York\",\n      region    =\u003e \"New York\",\n      country   =\u003e \"US\",\n      loc       =\u003e \"43.7805,-79.9512\",\n      org       =\u003e \"Time Warner Cable Internet LLC\",\n      postal    =\u003e \"11154\"\n    }\n\nExample\n\n    use WWW::ipinfo;\n\n    my $ipinfo = get_ipinfo(); # get IP info for your IP address\n    my $ip = $ipinfo-\u003e{ip}; # your IP address\n\n    my $other_ipinfo = get_ipinfo('FE80::0202:B3FF:FE1E:8329'); #works with IPv6 addresses\n    my $country = $other_ipinfo-\u003e{country};\n\n=head1 SEE ALSO\n\nL\u003cWWW::curlmyip\u003e - a similar module that returns your ip address\n\nL\u003cWWW::hmaip\u003e - a similar module that returns your ip address\n\nL\u003cWWW::IP\u003e - a module that uses up to 3 services to retrieve your IP address\n\n=head1 CONTRIBUTORS\n\nJohn D Jones III\n\n=head1 AUTHOR\n\nDavid Farrell \u003csillymoos@cpan.org\u003e\n\n=head1 COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2014 by David Farrell.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n\n=cut\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fwww-ipinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnmfarrell%2Fwww-ipinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fwww-ipinfo/lists"}