{"id":15286635,"url":"https://github.com/prefixaut/kamui","last_synced_at":"2025-10-07T01:31:00.161Z","repository":{"id":57044385,"uuid":"93092596","full_name":"prefixaut/Kamui","owner":"prefixaut","description":"Twitch-API Wrapper in PHP","archived":true,"fork":false,"pushed_at":"2017-08-13T22:42:59.000Z","size":118,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-01T15:17:34.891Z","etag":null,"topics":["composer","php","twitch","twitch-api-v5","twitchtv"],"latest_commit_sha":null,"homepage":null,"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/prefixaut.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":"2017-06-01T19:33:15.000Z","updated_at":"2023-01-28T19:59:32.000Z","dependencies_parsed_at":"2022-08-24T04:50:23.360Z","dependency_job_id":null,"html_url":"https://github.com/prefixaut/Kamui","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/prefixaut%2FKamui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prefixaut%2FKamui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prefixaut%2FKamui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prefixaut%2FKamui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prefixaut","download_url":"https://codeload.github.com/prefixaut/Kamui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235575693,"owners_count":19012156,"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":["composer","php","twitch","twitch-api-v5","twitchtv"],"created_at":"2024-09-30T15:17:46.133Z","updated_at":"2025-10-07T01:30:59.826Z","avatar_url":"https://github.com/prefixaut.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Packagist](https://img.shields.io/packagist/v/prefixaut/kamui.svg?style=flat-square)](https://packagist.org/packages/prefixaut/kamui)\n[![GitHub release](https://img.shields.io/github/release/prefixaut/kamui.svg?style=flat-square)](https://github.com/prefixaut/Kamui/releases)\n[![Travis](https://img.shields.io/travis/prefixaut/kamui.svg?style=flat-square)](https://travis-ci.org/prefixaut/Kamui)\n[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/d96375b0-9d77-490f-9354-e48d09d24a2a.svg?style=flat-square)](https://insight.sensiolabs.com/projects/d96375b0-9d77-490f-9354-e48d09d24a2a)\n[![License](https://img.shields.io/github/license/prefixaut/kamui.svg?style=flat-square)](https://github.com/prefixaut/Kamui/blob/master/LICENSE)\n\n# Kamui\n\u003e A PHP-Wrapper for the Twitch API (Kraken)\n\nKamui is a complete Wrapper for the Twitch API which allows you to easily use it.\nCurrently it's supporting the most up to date version of the API (v5).\n\n## Install\nThe best way to install Kamui is using [Composer](https://getcomposer.org):\n```\ncomposer require prefixaut/kamui \n```\n\n## Usage\nUsing the API is really easy as it orientates a lot on the structure of the Original API.\nExample usage:\n\n```php\nuse Kamui\\API;\n$api = new API($my_twitch_token);\n$api-\u003eusers-\u003efollows('prefixaut'); // Will give you a List of all Channels I follow\n```\n\nEvery function simply returns the original content of the Resource as Objects.\nIf any error occurs, it'll simply return false to prevent accidental breaks.\nYou can also use all Objects however you like them within the API like so:\n\n```php\n$cool_dude = $api-\u003eusers-\u003eget('prefixaut');\n$api-\u003eusers-\u003efollows($cool_dude);\n$api-\u003eusers-\u003efollows($cool_dude-\u003e_id);\n```\n\nThe `follows`-Function would return the exact same thing since it's still the same user.\nThis allows you to easily drop in whatever you want and focus on more important stuff.\n\n## Testing\nKamui is using [PHPUnit-Tests](https://phpunit.de).\nThe best way to run them is to install it along with Composer.\nWhen it's setup, run `phpunit` on the root of the Project.\n\n## [Twitch-Emotes](https://www.twitchemotes.com/)\nThis Project is using the API from Twitch-Emotes to allow you an easier usage of them.\nExample use of them is:\n\n```php\n$api-\u003efeed-\u003ereactToPost($user, $post, 'Kappa');\n```\n\n## License\nThis Project is licensed under the MIT-License.\nRead the LICENSE-File inside this Project for more information.\n\n\u003e Sidenote: The Projects name comes from 'Akkorokamui'.\nGoogle it up, too lazy to explain stuff\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprefixaut%2Fkamui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprefixaut%2Fkamui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprefixaut%2Fkamui/lists"}