Simple access/storage of current Twitch.tv streaming numbers using PHP & MySQL.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
table-setups
.env.example
.gitattributes
.gitignore
LICENSE.md
LonelyCreeper.php
README.md
ThoroughCreeper.php
TotalCreeper.php
TwitchCreeper.php
composer.json
table-setup.sql

README.md

Twitch Creeper

Requirements

  • PHP (tested on v5.5.9)
  • MySQL (tested on v5.5.40)
  • Composer (tested on v1.0-dev)

Setup

  1. Install / run Composer (composer install)
  2. Set up your database
    • Create a table using the structure in table-setup.sql
  3. Set up environment variables
    1. Copy .env.example to .env
    2. Update the .env data to match your own. You'll need:
  4. Edit and run the example script via your shell of choice.
    • php5 example.php
    • Feel free to use cron for automation, as long as you don't run into Twitch's API limits.