Download the PHP package laahudra/twitch-api-php without Composer
On this page you can find all versions of the php package laahudra/twitch-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laahudra/twitch-api-php
More information about laahudra/twitch-api-php
Files in laahudra/twitch-api-php
Package twitch-api-php
Short Description A Twitch API client for PHP.
License MIT
Homepage http://github.com/laahudra/twitch-api-php
Informations about the package twitch-api-php
twitch-api-php
A Twitch API client for PHP.
Supported APIs
This library aims to support v3
, v4
and v5
of the Twitch API until each one becomes deprecated. If an API version is not specified, v5
will be used as the default.
Features Completed
Main API Endpoints:
- [x] Authentication
- [x] Bits
- [x] Channel Feed
- [x] Channels
- [x] Chat
- [x] Clips
- [x] Collections
- [x] Communities
- [x] Games
- [x] Ingests
- [x] Search
- [x] Streams
- [x] Teams
- [x] Users
- [x] Videos
Any endpoints missing? Open an issue here.
Other Features:
- [ ] IRC Client
- [ ] Pub/Sub (ie. Bits & Whispers)
- [ ] Video Upload
Additional Integrations:
- [ ] StreamsLabs:
- [ ] Alerts
- [ ] Authentication
- [ ] Donations
- [ ] Users
Basic Example
See the examples directory for more common use cases.
Requirements
PHP 5.6 or higher is required.
Installation
Either pull in the library via composer:
or add the following dependency to your composer.json
file and run composer install
:
Tests
All unit tests can be run with the following command:
Documentation
The Twitch API docs can be found here.
As for the documentation of this library, that is still on the to-do list. In the meantime, most modern IDEs by default, or through the use of plugins, will provide class property and method auto-completion. Or you can simple look through the source code.
License
Distributed under the MIT license.