PHP code example of softonic / noodle_setup_api_sdk
1. Go to this page and download the library: Download softonic/noodle_setup_api_sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
softonic / noodle_setup_api_sdk example snippets
Instance = new Softonic\NoodleSetupApiSdk\Api\ProgramsPlatformsLocalesApi(
// 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()
);
$id_program = "id_program_example"; // string | Program identifier
$id_platform = "id_platform_example"; // string | Platform identifier
$body = new \Softonic\NoodleSetupApiSdk\Client\Model\ProgramPlatformLocale(); // \Softonic\NoodleSetupApiSdk\Client\Model\ProgramPlatformLocale |
try {
$result = $apiInstance->createProgramPlatformLocale($id_program, $id_platform, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProgramsPlatformsLocalesApi->createProgramPlatformLocale: ', $e->getMessage(), PHP_EOL;
}