All URIs are relative to https://www.kigoapis.com
Method | HTTP request | Description |
---|---|---|
channelsV2AmenitiesGet | GET /channels/v2/amenities | Get supported amenities |
channelsV2CountriesGet | GET /channels/v2/countries | Get supported countries |
channelsV2MediatagsGet | GET /channels/v2/mediatags | Get supported tags |
\Piksel\KigoPro\Model\AmenityListResourceList channelsV2AmenitiesGet($options)
Get supported amenities
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Piksel\KigoPro\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Piksel\KigoPro\Api\ReferenceDataApi(
// 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
);
$options = 'options_example'; // string |
try {
$result = $apiInstance->channelsV2AmenitiesGet($options);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ReferenceDataApi->channelsV2AmenitiesGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
options | string | [optional] |
\Piksel\KigoPro\Model\AmenityListResourceList
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Piksel\KigoPro\Model\CountryListResourceList channelsV2CountriesGet()
Get supported countries
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Piksel\KigoPro\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Piksel\KigoPro\Api\ReferenceDataApi(
// 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->channelsV2CountriesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ReferenceDataApi->channelsV2CountriesGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Piksel\KigoPro\Model\CountryListResourceList
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Piksel\KigoPro\Model\TagListResourceList channelsV2MediatagsGet()
Get supported tags
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Piksel\KigoPro\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Piksel\KigoPro\Api\ReferenceDataApi(
// 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->channelsV2MediatagsGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ReferenceDataApi->channelsV2MediatagsGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Piksel\KigoPro\Model\TagListResourceList
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]