1. Go to this page and download the library: Download acendy/acendy-api-client 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/ */
acendy / acendy-api-client example snippets
use Acendy\Api\Client\AcendyApiClient;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\HttpFactory;
$client = new AcendyApiClient(
baseURL: 'https://api.mystore.no/',
token: 'your-api-token',
storeName: 'your-store-name',
httpClient: new Client(),
requestFactory: new HttpFactory(),
streamFactory: new HttpFactory()
);