PHP code example of softonic / sdk_user-ratings-api
1. Go to this page and download the library: Download softonic/sdk_user-ratings-api 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 / sdk_user-ratings-api example snippets
Instance = new Softonic\UserRatingsApiSdk\Api\AppsApi(
// 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()
);
$app_id = "app_id_example"; // string | App id
$app_user_rating = new \Softonic\UserRatingsApiSdk\Client\Model\AppUserRating(); // \Softonic\UserRatingsApiSdk\Client\Model\AppUserRating |
try {
$apiInstance->createAppUserRating($app_id, $app_user_rating);
} catch (Exception $e) {
echo 'Exception when calling AppsApi->createAppUserRating: ', $e->getMessage(), PHP_EOL;
}