{"id":19877250,"url":"https://github.com/timursevimli/geoip-api","last_synced_at":"2025-03-01T01:44:57.302Z","repository":{"id":225921271,"uuid":"767250763","full_name":"timursevimli/geoip-api","owner":"timursevimli","description":"GeoIP Api","archived":false,"fork":false,"pushed_at":"2024-07-18T19:47:02.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T17:33:52.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/timursevimli.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}},"created_at":"2024-03-05T00:36:52.000Z","updated_at":"2024-07-18T19:47:06.000Z","dependencies_parsed_at":"2024-07-19T00:35:40.384Z","dependency_job_id":null,"html_url":"https://github.com/timursevimli/geoip-api","commit_stats":null,"previous_names":["timursevimli/geoip-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fgeoip-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fgeoip-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fgeoip-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fgeoip-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timursevimli","download_url":"https://codeload.github.com/timursevimli/geoip-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241304295,"owners_count":19941101,"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":[],"created_at":"2024-11-12T16:36:56.619Z","updated_at":"2025-03-01T01:44:57.285Z","avatar_url":"https://github.com/timursevimli.png","language":"JavaScript","readme":"# GeoIP - API\n\n### Install\n\n```bash\nnpm install @tsevimli/geo-api\n# or\ngit lfs clone https://github.com/timursevimli/geoip-api.git\n```\n\n### Usage (API)\n\n```bash\nnpm start # default running on port 8000 or PORT=8000 node main.js\ncurl \"http://localhost:8000?ip=8.8.8.8\" # -\u003e {\"country\":\"US\"}\n# or\ncurl \"http://localhost:8000\" # -\u003e return ip of forwarder or sender of the request\n```\n\n### Usage (Module)\n\n```javascript\n'use strict';\n\nconst { getGeoInfo } = require('geo-api');\n\nconsole.log(getGeoInfo('8.8.8.8')); //output -\u003e 'US'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimursevimli%2Fgeoip-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimursevimli%2Fgeoip-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimursevimli%2Fgeoip-api/lists"}