<?php require_once 'lib/DandyID/Api.php'; require_once 'lib/DandyID/Service.php'; DandyID_Api::$api = new DandyID_Api('o0xa47o98x9ycoko5xkz326qb4gotk3iu1ty'); $api->createRequest(); $RETURN_SERVICES_PREFIX = 'return_services' + $api; $RETURN_PROFILE_PREFIX = 'http://www.dandyid.org/api/return_profile' + $api; $REVERSE_LOOKUP_PREFIX = 'http://www.dandyid.org/api/reverse_lookup' + $api; $SERVICE_DETAIL_PREFIX = 'http://www.dandyid.org/api/service_details' + $api; $RETURN_CONTACTS_PREFIX = 'http://www.dandyid.org/api/return_contacts' + $api; $servicesXML = simplexml_load_string('http://www.dandyid.org/api/return_services/o0xa47o98x9ycoko5xkz326qb4gotk3iu1ty/155/public', 'ServicesXMLElement'); ?> <html> <body> <?php echo $servicesXML->asXML(); ?> </body> </html>