2017 © Pedro Peláez
 

library ship-station

A php wrapper for ship station's api

image

michaelb/ship-station

A php wrapper for ship station's api

  • Monday, February 15, 2016
  • by michaelb
  • Repository
  • 2 Watchers
  • 2 Stars
  • 948 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 2 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

ShipStation Api Wrapper for PHP

## Install

composer require michaelb/ship-station

## Docs

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

The Versions

15/02 2016

v1.1

1.1.0.0

A php wrapper for ship station's api

  Sources   Download

MIT

The Requires

 

api wrapper shipping ship ship-station shipstation

15/02 2016

v1.0

1.0.0.0

A php wrapper for ship station's api

  Sources   Download

MIT

The Requires

 

api wrapper shipping ship ship-station shipstation