2017 © Pedro Peláez
 

library seoshop-php

PHP client for the Lightspeed eCom API

image

seoshop/seoshop-php

PHP client for the Lightspeed eCom API

  • Monday, April 10, 2017
  • by michielrensen
  • Repository
  • 23 Watchers
  • 14 Stars
  • 47,044 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 18 Forks
  • 2 Open issues
  • 12 Versions
  • 8 % Grown

The README.md

Lightspeed eCom, (*1)

Latest Stable Version Latest Unstable Version License, (*2)

Lightspeed eCom PHP API client

This package is a convenience wrapper to communicate with the Lightspeed eCom REST-API., (*3)

Installation

For the installation of the client, there are 2 ways. The composer way is preferable, but not always possible., (*4)

Composer

Note: From client version 1.9.0 and upward, we will only support PHP 5.4 and above., (*5)

Include the package in your composer.json file ``` json { "require": { "seoshop/seoshop-php": "^1.9" } }, (*6)


...then run `composer update` and load the composer autoloader: ``` php <?php require 'vendor/autoload.php'; // ...

Manual

Obtain the latest version of the Lightspeed eCom PHP API client ``` bash git clone https://github.com/SEOshop/API-PHP-Client, (*7)


And include the class in your project ``` php require_once '/path/to/WebshopappApiClient.php';

Usage

There are a lot of API resources that are accessible through this client. You can look them up by looking at the code. Their name matches the name in the documentation., (*8)

``` php <?php require 'vendor/autoload.php';, (*9)

$client = new WebshopappApiClient('[api-server]', '[api-key]', '[api-secret]', '[language]');, (*10)

$shopInfo = $client->shop->get();, (*11)


__Explanation__ [api-server] Available server(-clusters): live, eu1, us1 [api-key] The API key you've received or created [api-secret] 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., (*12)

Getting started with Lightspeed eCom is easy. Not a partner yet? Please sign up as a partner and claim your account details and API keys., (*13)

Read our tutorials on how to build and publish your first app. Check our introduction to find out how to use the API, (*14)

Documentation

More documentation can be found at developers.lightspeedhq.com/ecom, (*15)

Contributing

We love contributions, but please note that the API client is generated. If you have suggested changes, you may still create a PR, but your PR will not be merged. We will however adapt the generator to reflect your changes. You can also create a GitHub issue if there's something you miss., (*16)

Unofficial clients for other languages

The Versions

10/04 2017

dev-checkout-to-order-conversion-fix

dev-checkout-to-order-conversion-fix http://developers.lightspeedhq.com/ecom

PHP client for the Lightspeed eCom API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client lightspeed ecom

11/01 2017

dev-master

9999999-dev http://developers.lightspeedhq.com/ecom

PHP client for the Lightspeed eCom API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client lightspeed ecom

06/12 2016

v1.8.0

1.8.0.0 http://developers.lightspeedhq.com/ecom

PHP client for the Lightspeed eCom API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client lightspeed ecom

11/01 2016

v1.7.1

1.7.1.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

05/06 2015

v1.7.0

1.7.0.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

29/04 2015

v1.6.0

1.6.0.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

02/04 2015

v1.5.2

1.5.2.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

26/01 2015

v1.5.1

1.5.1.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

22/01 2015

1.5.0

1.5.0.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

03/11 2014

1.4.0

1.4.0.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

07/10 2014

1.3.1

1.3.1.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client

11/09 2014

1.3.0

1.3.0.0 http://developers.seoshop.com

PHP client for the SEOshop API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

api php client