Projects

[insert_php] $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, “https://gitlab.com/api/v4/projects?private_token=DaaD4PCQfykPsoJWwfuz&owned=true&visibility=public”); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); $json = json_decode($output); echo ““; for ($x = 0; $x < count($json); $x++) { $project = $json[$x]; echo ' ‘; } echo “
‘.date(‘Y-m-d h a’,strtotime($project->last_activity_at)).’

“; [/insert_php]


read count : 0