Skip to content

Commit

Permalink
Merge pull request #31 from SEOshop/v1.9.0
Browse files Browse the repository at this point in the history
v1.9.0
  • Loading branch information
Timothy Silooy authored Feb 18, 2019
2 parents 1826deb + 2038d90 commit d0ea090
Show file tree
Hide file tree
Showing 3 changed files with 382 additions and 35 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ This package is a convenience wrapper to communicate with the Lightspeed eCom RE
For the installation of the client, there are 2 ways. The composer way is preferable, but not always possible.

### Composer
**Note: From client version 1.9.0 and upward, we will only support PHP 5.4 and above.**

Include the package in your `composer.json` file
``` json
{
"require": {
"seoshop/seoshop-php": "^1.8"
"seoshop/seoshop-php": "^1.9"
}
}
```
Expand Down Expand Up @@ -66,6 +68,14 @@ The API secret you've received or created
[language]
Language shortcode that's available in the shop you're connecting to

## Fetching response headers
After making a call, you can fetch the response headers from our API server and use it to check important data such as rate limiting.

``` php
$shopInfo = $client->shop->get();
$response = $shopInfo->getResponseHeaders();
```

## Getting started
Lightspeed eCom offers a powerful set of API’s for developers to create awesome apps. The API provides developers the interface to connect with third party software such as accounting-, feedback-, e-mailmarketing- and inventory management-software, or extend with new features that interact with our core platform, such as loyalty programs, social-sharing programs or reporting tools.

Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
}
],
"require": {
"php": ">=5.3.0",
"php": ">=5.4.0",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*"
"ext-mbstring": "*",
"ext-fileinfo": "*"
},
"autoload": {
"files": ["src/WebshopappApiClient.php"]
Expand Down
Loading

0 comments on commit d0ea090

Please sign in to comment.