GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DrPython3/SubathonWatchtime: Simple Watchtime counter for single streams and events on Twitch like "Subathons".

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
cron.php
cron.php
 
 
subathon.php
subathon.php
 
 

Repository files navigation

Subathon Watchtime

Provide the watchtime per user on a single event / stream on Twitch using StreamElements. These are very simple PHP scripts and easy to use. Feel free to edit the code for your needs.

Important Notice: Twitch has shut down the Legacy Chatters endpoint (see here)! Chatters can still be extracted using the API (see here), but the scripts need to be modified and a user access token is needed. Without modification, the scripts will not work out of the box!

How-to

  • Download all files and upload them to any webserver providing PHP.
  • Edit the 'cron.php' and change the URL. It has to point to your 'subathon.php'.
  • Edit the 'subathon.php' and change the texts in the very last line as you want.
  • Create a cron job on your webserver for opening the 'cron.php' every few minutes. The time between every execution must be < 10 minutes.
  • Add a new chat command in your StreamElements-panel using the following code:
${urlfetch http://www.urltoyour.php/subathon.php?action=get&channel=your_channel&user=${user.name}}

Donations

If you like 'Subathon Watchtime', support me with a donation or buy me a coffee:

  • BTC (Bitcoins): 1MiKuJrTCNST3haCX6sCnmMWTxJ4ZXtYgw
  • LTC (Litecoins): LT2NaafnqpsCcnuDKYcF9NMm7Dzxc2JgYE

I appreciate every donation and support!

About

Simple Watchtime counter for single streams and events on Twitch like "Subathons".

Topics

phpphpscriptscriptsstreamelementstwitchtwitch-botwatchtime

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.