an example of the Doodle API using PHP