v1.1
1.1.0.0A php wrapper for ship station's api
MIT
The Requires
api wrapper shipping ship ship-station shipstation
v1.0
1.0.0.0A php wrapper for ship station's api
MIT
The Requires
api wrapper shipping ship ship-station shipstation
Wallogit.com
2017 © Pedro Peláez
A php wrapper for ship station's api
composer require michaelb/ship-station
Using ShipStationApi, (*1)
use MichaelB\ShipStation\ShipStationApi; $apiKey = ''; // Your ShipStation Api Key $apiSecret = ''; // Your ShipStation Api Secret $options = []; // Options to be merged into the normal GuzzleHttp\Client options // ShipStationApi Extends GuzzleHttp\Client $shipstation = new ShipStationApi($apiKey, $apiSecret, $options); /* * Get a service instance */ // Orders $orderService = $shipstation->orders; // Products $products = $shipstation->products; // ... /* * Use the service */ $order = $orderService->getOrder('1234'); // All service methods return a GuzzleHttp\Psr7\Response object $json = $order->getBody(); // { 'order': {...} } $status = $order->getStatusCode(); // 200
A php wrapper for ship station's api
MIT
api wrapper shipping ship ship-station shipstation
A php wrapper for ship station's api
MIT
api wrapper shipping ship ship-station shipstation