All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
getStation | GET /station | Get own station only |
\RadioManager\Model\StationResult getStation()
Get own station only
Get own station only
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: API Key
$config = RadioManager\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = RadioManager\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
$apiInstance = new RadioManager\Api\StationApi(
// 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
);
try {
$result = $apiInstance->getStation();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StationApi->getStation: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\RadioManager\Model\StationResult
[API Key](../../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]