Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $file = file_get_contents('https://www.googleapis.com/youtube/v3/search?part=snippet&q=Laura%20Dempsey%20Makeup&type=channel&key=AIzaSyDLfPQI-rIjdZrd-9hYWOCahgSkZ0J8lgo');
- $arr = json_decode($file, true);
- foreach($arr["items"] as $item){
- echo $item["id"]["channelId"];
- echo "<br>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement