PHP code example of shoppexio / shoppex-php
1. Go to this page and download the library: Download shoppexio/shoppex-php 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/ */
shoppexio / shoppex-php example snippets
use Shoppex\ShoppexClient;
$client = new ShoppexClient(apiKey: 'shx_your_api_key');
$me = $client->me()->get();
$products = $client->products()->list(['page' => 1, 'limit' => 20]);
bash
composer