Twitch Stream Uptime

I tried to study that thread and the Twitch API to find a solution but due to my ignorance on the matter nothing really worked out.

As i explained in the first post the script that got disrupted due to Twitch new changes allowed to display a simple uptime box in a browser for any stream, this is its “simple” code (which doesn’t seem to show any OAuth calls) https://github.com/adrianschofield/twitchuptime/blob/master/scripts/uptime.js

If anyone knows a possible solution to this issue or if this is even fixable after the recent changes it would be amazing. If something similar already exists it would be even better; what i’m basically looking for is a simple script that shows the uptime of any stream in a browser (ex. 01:00:05), so that i can add that to my OBS screen.