I'm trying to migrate from the old API and I'm struggling to understand the new API v3. Basically I'm trying to make a PHP function that gets the video title, description, and statistics from the videoID.
I understand this will return the data I need but how do I convert it into PHP variables?
https://www.googleapis.com/youtube/v3/videos?id='videoID'&key='APIKEY'&fields=items(id,snippet(title,description),statistics)&part=snippet,statistics