{"id":17989525,"url":"https://github.com/evilfreelancer/steam-api-client","last_synced_at":"2025-04-04T03:41:01.069Z","repository":{"id":159311618,"uuid":"634612386","full_name":"EvilFreelancer/steam-api-client","owner":"EvilFreelancer","description":"The SteamAPI PHP Client is a PHP library for interacting with the Steam API. It provides an easy way to fetch data from the Steam platform, such as user profiles, games, and reviews.","archived":false,"fork":false,"pushed_at":"2023-04-30T17:37:59.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T21:06:35.413Z","etag":null,"topics":["http-client","psr-4","steam"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/EvilFreelancer.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":"2023-04-30T17:34:20.000Z","updated_at":"2024-01-13T01:23:00.000Z","dependencies_parsed_at":"2023-05-27T00:15:39.707Z","dependency_job_id":null,"html_url":"https://github.com/EvilFreelancer/steam-api-client","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/EvilFreelancer%2Fsteam-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsteam-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsteam-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsteam-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvilFreelancer","download_url":"https://codeload.github.com/EvilFreelancer/steam-api-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117749,"owners_count":20886439,"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":["http-client","psr-4","steam"],"created_at":"2024-10-29T19:14:52.680Z","updated_at":"2025-04-04T03:41:01.045Z","avatar_url":"https://github.com/EvilFreelancer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SteamAPI PHP client\n\n\u003e Note: This library is still under development and not yet production-ready.\n\nThe SteamAPI PHP Client is a PHP library for interacting with the Steam API.\nIt provides an easy way to fetch data from the Steam platform, such as user\nprofiles, games, and reviews.\n\n## Installation\n\nTo install the SteamAPI PHP Client, simply use Composer:\n\n```shell\ncomposer require evilfreelancer/steam-api-client\n```\n\n## Usage\n\n### Configuration\n\nFirst, you need to create a Config object with your desired configuration:\n\n```php\nuse SteamApi\\Config;\n\n$config = new Config();\n$config-\u003estoreUri = 'https://store.steampowered.com';\n$config-\u003eretries = 5;\n$config-\u003eretryTimeoutMs = 1000;\n```\n\nNext, create an instance of the HttpClient class and pass your Config object:\n\n```php\nuse SteamApi\\HttpClient;\n\n$httpClient = new HttpClient($config);\n```\n\n### Getting Curator Reviews\n\nTo get reviews for a specific curator, you can use the Curator class:\n\n```php\n// Replace with a valid curator ID\n$curatorId = 31790204; // Games-4-Programmers\n$curator = $httpClient-\u003estore-\u003ecurator($curatorId);\n\n// Get the total number of reviews for the curator\n$totalCount = $curator-\u003egetTotalCount();\n\n// Get a limited number of reviews (default: last 10 reviews)\n$reviews = $curator-\u003egetReviews();\n\n// Get all available reviews\n$allReviews = $curator-\u003eallReviews();\n```\n\n## License\n\nThis library is released under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Fsteam-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilfreelancer%2Fsteam-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Fsteam-api-client/lists"}