Forum Academy Marketplace Showcase Pricing Features

Scheduled update of YouTube video statistics

Hi All,

I am looking for a way that I can automatically pull YouTube video statistics for videos in my database and store the stats in a ‘video stats’ table.
By doing this, I can track trending videos and flag ‘hot’ videos for my audience.
Running this manually is simple and I could manually trigger each one to update but I want to be able to automatically run this (say daily or weekly), loop through the list of vids and write the stats to the database.

Any thoughts on best way to achieve this?

Thanks