Get Species List for Site

This service returns a list of species for a known site (in this example the Lundy SAC, siteKey=UK0013114 providerKey=GA000327). The same service as the Get Species List example is used, however the Geographical Filter is based on a known and defined location.
A list of locations, site and provider keys can be viewed by clicking here.
The list of species returned is restricted by a Taxon Reporting Category Key (in this case NHMSYS0000080051 - Echinoderms), a list of current keys can be viewed by clicking here.

Click here to view the source code.

Click here to view the request to the server.

Click here to view the returned XML file.

NHMSYS0000080051 '; $result = $client->call("GetSpeciesList", $query1); $debug = $client->getDebug(); $obj = simplexml_load_string(fixupxml($client->response)); print ("
"); foreach ($obj->SpeciesList->Species as $Species) { echo ''; } print ("
Taxon Reporting Category GroupScientific nameCommon Name
', ucfirst($Species->TaxonReportingCategory), '', $Species->ScientificName, ' (', $Species->Authority, ')', $Species->CommonName, '

"); echo "

Data Providers

"; echo ""; foreach ($obj->DatasetSummaryList->DatasetSummary as $DataSet) { echo ''; } echo "
TitleProviderDescription
', $DataSet->ProviderMetadata->DatasetTitle,'',$DataSet->ProviderMetadata->DatasetProvider, '',$DataSet->ProviderMetadata->Abstract->Description, '
"; print ("
"); print '

Request to Server

'; echo ''.$client->request.''; print "
Back to the top
"; //Debugging code if(isset($_GET["debug"])){ print '

Fixed up XML

'; echo ''.fixupxml($client->response).''; print '

Response

'; echo ''.$client->response.''; echo '

Debug

' . $debug . '

'; } echo "

The Returned XML File

";
print htmlspecialchars(fixupxml($client->response));
echo "
"; ?>
Back to the top

Source code for this page