{"id":16381281,"url":"https://github.com/defkode/ipinfodb","last_synced_at":"2025-10-13T04:07:37.411Z","repository":{"id":1322284,"uuid":"1267342","full_name":"defkode/ipinfodb","owner":"defkode","description":"ipinfodb api","archived":false,"fork":false,"pushed_at":"2013-10-30T15:31:51.000Z","size":109,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T04:07:36.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ipinfodb.com","language":"Ruby","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/defkode.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":"2011-01-18T14:55:20.000Z","updated_at":"2020-02-27T18:57:10.000Z","dependencies_parsed_at":"2022-07-14T17:47:51.457Z","dependency_job_id":null,"html_url":"https://github.com/defkode/ipinfodb","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/defkode/ipinfodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defkode%2Fipinfodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defkode%2Fipinfodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defkode%2Fipinfodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defkode%2Fipinfodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defkode","download_url":"https://codeload.github.com/defkode/ipinfodb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defkode%2Fipinfodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013598,"owners_count":26085389,"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-13T02:00:06.723Z","response_time":61,"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-10-11T03:53:52.714Z","updated_at":"2025-10-13T04:07:37.363Z","avatar_url":"https://github.com/defkode.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipinfodb\n\nRuby gem for IP address geolocation via API calls to [IPInfoDB.com](http://ipinfodb.com/).\n\n\n## Installation\n\n```\ngem install ipinfodb\n```\n\n\n## Usage\n\n```ruby\nIpinfodb.api_key = \"your_api_key_here\"\nIpinfodb.lookup('153.19.48.1')\n```\n\nYou will receive the following `Hash` as a response (for successful lookups):\n\n```ruby\n{\n  \"statusCode\"    : \"OK\",\n  \"statusMessage\" : \"\",\n  \"ipAddress\"     : \"153.19.48.1\",\n  \"countryCode\"   : \"PL\",\n  \"countryName\"   : \"POLAND\"\n}\n```\n\n\n## Running tests\n\n```\nIPINFODB_API_KEY=\u003capikey\u003e rake test\n```\n\nCopyright © 2011-2013 Tomasz Mazur, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefkode%2Fipinfodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefkode%2Fipinfodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefkode%2Fipinfodb/lists"}