A simple Shopify API client in PHP.
- PHP 5.4 (or higher)
- ext-curl, ext-json
Get the library via Composer
composer require secomapp/shopify-api
First you will need to initialise the client like this:
$client = new \Secomapp\ClientApi($clientSecret, $shopName, $accessToken);
Then you can begin making requests like shown below.
$orderApi = new \Secomapp\Resources\Order($client);
$oders = $orderApi->all();