$apiInstance = new Fastly\Api\PopApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);Note
All URIs are relative to https://api.fastly.com
| Method | HTTP request | Description |
|---|---|---|
| listPops() | GET /datacenters | List Fastly POPs |
listPops($options): \Fastly\Model\Pop[] // List Fastly POPsGet a list of all Fastly POPs.
try {
$result = $apiInstance->listPops($options);
} catch (Exception $e) {
echo 'Exception when calling PopApi->listPops: ', $e->getMessage(), PHP_EOL;
}Note: the input parameter is an associative array with the keys listed below.
This endpoint does not need any parameters.