2017 © Pedro Peláez
 

sdk acenda-php-sdk

Acenda PHP SDK

image

torreycommerce/acenda-php-sdk

Acenda PHP SDK

  • Friday, June 1, 2018
  • by acenda
  • Repository
  • 15 Watchers
  • 2 Stars
  • 1,905 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 23 Versions
  • 13 % Grown

The README.md

Acenda API client

enter image description here, (*1)

Acenda website: Acenda, (*2)

Homepage: Git repository, (*3)

Author: Acenda development Team, (*4)

Latest Stable Version Total Downloads Latest Unstable Version License, (*5)


Description

The Acenda PHP Client makes it very easy to manage the authentication
and query to any store you would have access to., (*6)

Note: * This client is in Alpha and doesn't have all the features needed *, (*7)


Install

Composer

Installation through composer is the easiest.
Just add these lines to your file composer.json:, (*8)

{
    "require": {
        "torreycommerce/acenda-php-sdk": "0.3.*"
    }
}

How to use it

Usage should be simple enough for you to use it right away.
After instantiation, access all the API of your store:, (*9)

<?php
// Autoloading of your dependecies.
include('vendors/autoload.php');
try {
    $acenda = new Acenda\Client(
        _CLIENT_ID_,
        _CLIENT_SECRET_,
        _STORE_NAME_);

    $acenda->get('/order', [
        'limit' => 1,
        'attributes' => 'id'
    ]);

    /**
    **  Response example
    **  object(Acenda\Response)#16 (2) {
    **      ["code"]=>
    **      int(200)
    **      ["body"]=>
    **      object(stdClass)#14 (4) {
    **          ["code"]=>
    **          int(200)
    **          ["status"]=>
    **          string(2) "OK"
    **          ["num_total"]=>
    **          int(1)
    **          ["result"]=>
    **          array(1) {
    **              [0]=>
    **              object(stdClass)#15 (1) {
    **                  ["id"]=>
    **                  int(3398553)
    **              }
    **          }
    **      }
    **  }
    **/
}catch (Exception $e){
    /*  
    ** Two types of exceptions are thrown,
    ** AcendaException which are Acenda HTTP request related,
    ** And Exception which are usage and PHP related.
    */
    var_dump($e);
}

Examples:

File upload

   $acenda->post('/import/upload', [
        'model'=>'variant'
    ],['/tmp/tempfile.csv']);


Contributing

Acenda highly encourages sending in pull requests.
When submitting a pull request please:
* Make sure your code follows the coding conventions. * Please use soft tabs (four spaces) instead of hard tabs. * Make sure you add appropriate test coverage for your changes., (*10)


Support

Please report bugs on the issue manager of the project on GitHub. A forum will soon be open to answer questions., (*11)

enter image description here, (*12)

The Versions

01/06 2018

dev-feature_new_throttling

dev-feature_new_throttling http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

25/05 2017

dev-master

9999999-dev http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

19/05 2016

v0.3.8

0.3.8.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

22/03 2016

dev-file_uploads

dev-file_uploads http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

22/03 2016

v0.3.7

0.3.7.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

11/03 2016

0.3.6

0.3.6.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

13/01 2016

v0.3.5

0.3.5.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

19/12 2015

v0.3.4

0.3.4.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

19/12 2015

dev-upgrade_sdk

dev-upgrade_sdk http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

19/11 2015

v0.3.3

0.3.3.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

13/11 2015

v0.3.2

0.3.2.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

16/10 2015

v0.3.1

0.3.1.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

15/10 2015

v0.3

0.3.0.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

03/10 2015

v0.2.2

0.2.2.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

03/10 2015

dev-query_syntax

dev-query_syntax http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

01/10 2015

v0.2.1

0.2.1.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

26/09 2015

v0.2

0.2.0.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok
by Brandon Allhands

api sdk ecommerce acenda

14/08 2015

v0.1.5

0.1.5.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

  • php >=5.3.9

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok

api sdk ecommerce acenda

06/08 2015

v0.1.4

0.1.4.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

  • php >=5.3.9

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok

api sdk ecommerce acenda

06/08 2015

v0.1.3

0.1.3.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

  • php >=5.3.9

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok

api sdk ecommerce acenda

06/08 2015

0.1.2

0.1.2.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

  • php >=5.3.9

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok

api sdk ecommerce acenda

04/08 2015

v0.1.1

0.1.1.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

  • php >=5.3.9

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok

api sdk ecommerce acenda

04/08 2015

v0.1.0

0.1.0.0 http://acenda.com

Acenda PHP SDK

  Sources   Download

The Requires

  • php >=5.3.9

 

by Thiebaud Ernstberger
by Yoann Jaspar
by Ahmet Tok

api sdk ecommerce acenda