get('https://gdata.youtube.com/feeds/api/videos/' . $video_id . '?alt=json'); echo '"' . $curl->response->entry->title->{'$t'} . '" has ' . number_format($curl->response->entry->{'yt$statistics'}->viewCount) . ' views.' . "\n"; }