esedic
1/19/2016 - 8:39 PM

Example of returned array when calling Youtube API

Example of returned array when calling Youtube API

<?php
$arrayName = array({ 
	["kind"]=> string(25) "youtube#videoListResponse" 
	["etag"]=> string(57) ""oqbvhYxBE6fAbRk6m7aLlHf5s1I/qv4WpKafV2UG4PR0JG7qDUl602c"" 
	["pageInfo"]=> object(stdClass) { 
		["totalResults"]=> int(1) 
		["resultsPerPage"]=> int(1) } 
		["items"]=> array(1) { 
		[0]=> object(stdClass)
		{ 
			["kind"]=> string(13) "youtube#video" 
			["etag"]=> string(57) ""oqbvhYxBE6fAbRk6m7aLlHf5s1I/4pKCph-MLMKzofOsh7lhA1uE-Ww"" 
			["id"]=> string(11) "Uph5MuE_CJg" 
			["snippet"]=> object(stdClass)	{ 
					["publishedAt"]=> string(24) "2015-11-25T09:14:30.000Z" 
					["channelId"]=> string(24) "UCh40HXGp8i8DA1F5Y1MxbDQ" 
					["title"]=> string(95) "I FEEL SLOVENIA" 
					["description"]=> string(138) "Tiskovna konferenca: I FEEL SLOVENIA, središče novih priložnosti Poljska, Wroclaw, 16-21. Januar 2016" 
					["thumbnails"]=> object(stdClass) { 
						["default"]=> object(stdClass) { 
							["url"]=> string(46) "https://i.ytimg.com/vi/Uph5MuE_CJg/default.jpg"
							["width"]=> int(120)
							["height"]=> int(90)
						}
						["medium"]=> object(stdClass) { 
							["url"]=> string(48) "https://i.ytimg.com/vi/Uph5MuE_CJg/mqdefault.jpg" 
							["width"]=> int(320) 
							["height"]=> int(180)
						} 
						["high"]=> object(stdClass) { 
							["url"]=> string(48) "https://i.ytimg.com/vi/Uph5MuE_CJg/hqdefault.jpg" 
							["width"]=> int(480) 
							["height"]=> int(360)
						} 
						["standard"]=> object(stdClass) { 
							["url"]=> string(48) "https://i.ytimg.com/vi/Uph5MuE_CJg/sddefault.jpg" 
							["width"]=> int(640) 
							["height"]=> int(480)
						} 
						["maxres"]=> object(stdClass) { 
							["url"]=> string(52) "https://i.ytimg.com/vi/Uph5MuE_CJg/maxresdefault.jpg" 
							["width"]=> int(1280) 
							["height"]=> int(720)
						}
					} 
					["channelTitle"]=> string(9) "vzmdpilot" 
					["tags"]=> array(33) { 
						[0]=> string(16) "mali delničarji" 
						[1]=> string(4) "vzmd" 
						[2]=> string(7) "vzmd tv" 
						[3]=> string(16) "kristjan verbič" 
						[4]=> string(7) "investo" 
						[5]=> string(10) "investo tv" 
					} 
					["categoryId"]=> string(2) "29" 
					["liveBroadcastContent"]=> string(4) "none" 
					["localized"]=> object(stdClass) { 
						["title"]=> string(95) "I FEEL SLOVENIA" 
						["description"]=> string(138) "I FEEL SLOVENIA"
					}
				}
			}
		}
	}
);