diff --git a/README.md b/README.md index 2ca7e42..daaf497 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Supported PHP Versions](https://img.shields.io/packagist/dependency-v/aspose/barcode-cloud-php/php)](https://packagist.org/packages/aspose/barcode-cloud-php) - API version: 4.0 -- Package version: 25.6.0 +- Package version: 25.7.0 - Supported PHP versions: ">=8.0" ## SDK and API Version Compatibility: @@ -107,10 +107,10 @@ Class | Method | HTTP request | Description *GenerateApi* | [**generate**](docs/Api/GenerateApi.md#generate) | **GET** /barcode/generate/{barcodeType} | Generate barcode using GET request with parameters in route and query string. *GenerateApi* | [**generateBody**](docs/Api/GenerateApi.md#generatebody) | **POST** /barcode/generate-body | Generate barcode using POST request with parameters in body in json or xml format. *GenerateApi* | [**generateMultipart**](docs/Api/GenerateApi.md#generatemultipart) | **POST** /barcode/generate-multipart | Generate barcode using POST request with parameters in multipart form. -*RecognizeApi* | [**recognize**](docs/Api/RecognizeApi.md#recognize) | **GET** /barcode/recognize | Recognize barcode from file on server using GET requests with parameters in route and query string. +*RecognizeApi* | [**recognize**](docs/Api/RecognizeApi.md#recognize) | **GET** /barcode/recognize | Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. *RecognizeApi* | [**recognizeBase64**](docs/Api/RecognizeApi.md#recognizebase64) | **POST** /barcode/recognize-body | Recognize barcode from file in request body using POST requests with parameters in body in json or xml format. *RecognizeApi* | [**recognizeMultipart**](docs/Api/RecognizeApi.md#recognizemultipart) | **POST** /barcode/recognize-multipart | Recognize barcode from file in request body using POST requests with parameters in multipart form. -*ScanApi* | [**scan**](docs/Api/ScanApi.md#scan) | **GET** /barcode/scan | Scan barcode from file on server using GET requests with parameter in query string. +*ScanApi* | [**scan**](docs/Api/ScanApi.md#scan) | **GET** /barcode/scan | Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. *ScanApi* | [**scanBase64**](docs/Api/ScanApi.md#scanbase64) | **POST** /barcode/scan-body | Scan barcode from file in request body using POST requests with parameter in body in json or xml format. *ScanApi* | [**scanMultipart**](docs/Api/ScanApi.md#scanmultipart) | **POST** /barcode/scan-multipart | Scan barcode from file in request body using POST requests with parameter in multipart form. diff --git a/docs/Api/RecognizeApi.md b/docs/Api/RecognizeApi.md index 501ce1b..359eb48 100644 --- a/docs/Api/RecognizeApi.md +++ b/docs/Api/RecognizeApi.md @@ -4,7 +4,7 @@ All URIs are relative to https://api.aspose.cloud/v4.0, except if the operation | Method | HTTP request | Description | | ------------- | ------------- | ------------- | -| [**recognize()**](RecognizeApi.md#recognize) | **GET** /barcode/recognize | Recognize barcode from file on server using GET requests with parameters in route and query string. | +| [**recognize()**](RecognizeApi.md#recognize) | **GET** /barcode/recognize | Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. | | [**recognizeBase64()**](RecognizeApi.md#recognizeBase64) | **POST** /barcode/recognize-body | Recognize barcode from file in request body using POST requests with parameters in body in json or xml format. | | [**recognizeMultipart()**](RecognizeApi.md#recognizeMultipart) | **POST** /barcode/recognize-multipart | Recognize barcode from file in request body using POST requests with parameters in multipart form. | @@ -15,7 +15,7 @@ All URIs are relative to https://api.aspose.cloud/v4.0, except if the operation recognize($barcode_type, $file_url, $recognition_mode, $recognition_image_kind): \Aspose\BarCode\Model\BarcodeResponseList ``` -Recognize barcode from file on server using GET requests with parameters in route and query string. +Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. ### Example diff --git a/docs/Api/ScanApi.md b/docs/Api/ScanApi.md index 2271e1e..83cc466 100644 --- a/docs/Api/ScanApi.md +++ b/docs/Api/ScanApi.md @@ -4,7 +4,7 @@ All URIs are relative to https://api.aspose.cloud/v4.0, except if the operation | Method | HTTP request | Description | | ------------- | ------------- | ------------- | -| [**scan()**](ScanApi.md#scan) | **GET** /barcode/scan | Scan barcode from file on server using GET requests with parameter in query string. | +| [**scan()**](ScanApi.md#scan) | **GET** /barcode/scan | Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. | | [**scanBase64()**](ScanApi.md#scanBase64) | **POST** /barcode/scan-body | Scan barcode from file in request body using POST requests with parameter in body in json or xml format. | | [**scanMultipart()**](ScanApi.md#scanMultipart) | **POST** /barcode/scan-multipart | Scan barcode from file in request body using POST requests with parameter in multipart form. | @@ -15,7 +15,7 @@ All URIs are relative to https://api.aspose.cloud/v4.0, except if the operation scan($file_url): \Aspose\BarCode\Model\BarcodeResponseList ``` -Scan barcode from file on server using GET requests with parameter in query string. +Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. ### Example diff --git a/snippets/ManualFetchToken.php b/snippets/ManualFetchToken.php index 050086a..0271226 100644 --- a/snippets/ManualFetchToken.php +++ b/snippets/ManualFetchToken.php @@ -34,8 +34,8 @@ $statusCode = $response->getStatusCode(); if ($statusCode >= 200 && $statusCode < 300) { - $bodyArray=json_decode($body, true); - $token=$bodyArray["access_token"]; + $bodyArray = json_decode($body, true); + $token = $bodyArray["access_token"]; echo "Token recieved successfully\n"; // To veiw token uncomment next line // echo "$token"; diff --git a/src/Aspose/BarCode/Configuration.php b/src/Aspose/BarCode/Configuration.php index ba4be04..3d61986 100644 --- a/src/Aspose/BarCode/Configuration.php +++ b/src/Aspose/BarCode/Configuration.php @@ -20,7 +20,7 @@ class Configuration implements JsonSerializable * * @var string */ - protected $clientVersion = '25.6.0'; + protected $clientVersion = '25.7.0'; /** * ClientId for API diff --git a/src/Aspose/BarCode/RecognizeApi.php b/src/Aspose/BarCode/RecognizeApi.php index 499feae..c8f6bf6 100644 --- a/src/Aspose/BarCode/RecognizeApi.php +++ b/src/Aspose/BarCode/RecognizeApi.php @@ -90,7 +90,7 @@ public function getConfig() /** * Operation recognize * - * Recognize barcode from file on server using GET requests with parameters in route and query string. + * Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. * * @param Requests\RecognizeRequestWrapper $request is a request object for operation * @@ -112,7 +112,7 @@ public function recognize(Requests\RecognizeRequestWrapper $request) /** * Operation recognizeWithHttpInfo * - * Recognize barcode from file on server using GET requests with parameters in route and query string. + * Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. * * @param Requests\RecognizeRequestWrapper $request is a request object for operation * @@ -176,7 +176,7 @@ public function recognizeWithHttpInfo(Requests\RecognizeRequestWrapper $request) /** * Operation recognizeAsync * - * Recognize barcode from file on server using GET requests with parameters in route and query string. + * Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. * * @param Requests\RecognizeRequestWrapper $request is a request object for operation * @@ -196,7 +196,7 @@ function ($response) { /** * Operation recognizeAsyncWithHttpInfo * - * Recognize barcode from file on server using GET requests with parameters in route and query string. + * Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use `recognize-body` or `recognize-multipart` endpoints instead. * * @param Requests\RecognizeRequestWrapper $request is a request object for operation * diff --git a/src/Aspose/BarCode/ScanApi.php b/src/Aspose/BarCode/ScanApi.php index c26a8e9..f530320 100644 --- a/src/Aspose/BarCode/ScanApi.php +++ b/src/Aspose/BarCode/ScanApi.php @@ -90,7 +90,7 @@ public function getConfig() /** * Operation scan * - * Scan barcode from file on server using GET requests with parameter in query string. + * Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. * * @param Requests\ScanRequestWrapper $request is a request object for operation * @@ -112,7 +112,7 @@ public function scan(Requests\ScanRequestWrapper $request) /** * Operation scanWithHttpInfo * - * Scan barcode from file on server using GET requests with parameter in query string. + * Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. * * @param Requests\ScanRequestWrapper $request is a request object for operation * @@ -176,7 +176,7 @@ public function scanWithHttpInfo(Requests\ScanRequestWrapper $request) /** * Operation scanAsync * - * Scan barcode from file on server using GET requests with parameter in query string. + * Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. * * @param Requests\ScanRequestWrapper $request is a request object for operation * @@ -196,7 +196,7 @@ function ($response) { /** * Operation scanAsyncWithHttpInfo * - * Scan barcode from file on server using GET requests with parameter in query string. + * Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use `scan-body` or `scan-multipart` endpoints instead. * * @param Requests\ScanRequestWrapper $request is a request object for operation *