University of Cambridge

Job Opportunities

Individual job

Example

The following will output the title for job with the ID 45901 in PHP:


<?php

$results 
= @file_get_contents("http://www.jobs.cam.ac.uk/job/45901/?format=json");
if(
$results) {
    
$job json_decode($results)->job;
    echo 
"<p>".$job->title."</p>\n";
} else {
    echo 
"<p>Unable to load job.</p>\n";
}

?>