I knocked together some PHP code using the YouTube API to simply fetch my YouTube subscribed to channels and list the hours/days/weeks/months since last upload.
You can find the code on Gist or in the spoiler at the bottom of this post.
I came up with this as a little challenge to simply list the channels i was subscribed to and the time value since they last uploaded a video, here is a small portion of the output:
If you want to use this code yourself all you need is your YouTube channel id and a YouTube api key. Add these into the code at lines 4 and 5.
Here is the php code
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…