{"id":28386165,"url":"https://github.com/scullwm/dbip-client","last_synced_at":"2025-06-26T13:31:49.081Z","repository":{"id":46581432,"uuid":"404476614","full_name":"ScullWM/dbip-client","owner":"ScullWM","description":"Modern client library for the db-ip.com API services","archived":false,"fork":false,"pushed_at":"2021-10-04T20:27:21.000Z","size":29,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T16:37:31.003Z","etag":null,"topics":["api-client","api-client-php","db-ip","hacktoberfest","hacktoberfest-accepted","hacktoberfest2021"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScullWM.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-08T19:49:40.000Z","updated_at":"2021-10-04T20:44:01.000Z","dependencies_parsed_at":"2022-09-22T19:30:30.509Z","dependency_job_id":null,"html_url":"https://github.com/ScullWM/dbip-client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ScullWM/dbip-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScullWM%2Fdbip-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScullWM%2Fdbip-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScullWM%2Fdbip-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScullWM%2Fdbip-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScullWM","download_url":"https://codeload.github.com/ScullWM/dbip-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScullWM%2Fdbip-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262076684,"owners_count":23255046,"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":["api-client","api-client-php","db-ip","hacktoberfest","hacktoberfest-accepted","hacktoberfest2021"],"created_at":"2025-05-30T13:11:10.402Z","updated_at":"2025-06-26T13:31:49.068Z","avatar_url":"https://github.com/ScullWM.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003e\n        DbIpClient\n    \u003c/h1\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\nModern client library for the db-ip.com API services\n\n\n## Getting Started\n\nFirst of all, you need to define an add the API client in your project.\n`composer require scullwm/dbip-client`\n\n\n\n```php\n    $dbipClient = new Client('my_secret_token');\n    $ipDetails = $dbipClient-\u003egetIpDetails('8.8.8.8');\n    $ipDetails-\u003eisRisky(); // false\n\n    $apiThrottling = $dbipClient-\u003egetApiThrottling();\n    echo $apiThrottling-\u003egetQueriesLeft(); // 9996\n```\n\n### Running the Test Suite\n\nOnce you have all dependencies installed via `composer install`, you can run the test suite with:\n\n```bash\n./vendor/bin/phpunit tests/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscullwm%2Fdbip-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscullwm%2Fdbip-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscullwm%2Fdbip-client/lists"}