I want to use api V3 of youtube for get last video of a channel.
When i try in php, i can't get "videoId"
<?php
$url = "https://www.googleapis.com/youtube/v3/playlistItems? part=snippet&maxResults=1&playlistId=XX&key=XX";
$obj = json_decode($json);
print $json_output->{'snippet'}->{'ressourceId'}->{'videoId'};
?>
that didn't print anithing.
Can you help me pls. thank you