University of Cambridge

Job Opportunities

Individual job

Example

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


<?php

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

?>