I'm working on Twitch API. You can login to Twitch and get : code, autorization code and access token, get user logged information (example: id, name, logo and email), get user logged channel information (example: status, views, followers and current game) and get the status channel from the user you want.
More options soon.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
-
- Twitch developmer account.
-
- Create a Application on the account.
-
- Client ID & Client Secret from the new application.
-
- Running PHP Server.
-
- Open
twitch.php
and configure Client ID, Client Secret and redirect URL from twitch application.
- Open
-
- Open your HTML template and write at top of page
require_once (twitch.php);
- Open your HTML template and write at top of page
-
- Write below
$twitch = new Twitch_functions();
- Write below
-
- Now you can use class functions.
You need a web template and start the Twitch_Functions class for get work.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Gaizka González Graña - Initial work
This project is licensed under the MIT License - see the LICENSE.md file for details
- In search of improvement