2017 © Pedro Peláez
 

library magento2-sdk

A proper Magento 2 rest api sdk

image

webweave/magento2-sdk

A proper Magento 2 rest api sdk

  • Monday, December 18, 2017
  • by WebWeave
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 20 % Grown

The README.md

Magento 2 rest api sdk | In heavy development

A proper sdk for Magento 2 rest api, (*1)

WARNING

This piece of software is provided without warranty of any kind, use it at your own risk., (*2)

DONE FOR NOW

  • [x] Customer groups
  • [x] Customers

REQUIREMENTS

php-curl needs to be installed., (*3)

USAGE

Installation, (*4)

Best way is to use composer, (*5)

    $ composer require webweave/magento2-sdk

Basic Code examples, (*6)

<?php

use WebWeave\Magento2SDK\ApiClient;
use WebWeave\Magento2SDK\CustomerGroups;

//Initialize client
$apiClient = new ApiClient('https://magento2.shop/', 'AdminUserName', "AdminPassword");

//Get and set Bearer token in the client
$apiClient->getToken();

//Create a customer group
$customerGroup = new CustomerGroups($apiClient);

$data = array("group" => array(
    "code" => "I am made by the magento2-sdk :D"
));

$customerGroup->createCustomerGroup($data);

The Versions

18/12 2017

dev-master

9999999-dev

A proper Magento 2 rest api sdk

  Sources   Download

MIT

The Requires

 

by Sander de Jonge

api rest api sdk magento2

18/12 2017

v0.2

0.2.0.0

A proper Magento 2 rest api sdk

  Sources   Download

MIT

The Requires

 

by Sander de Jonge

api rest api sdk magento2

18/12 2017

dev-develop

dev-develop

A proper Magento 2 rest api sdk

  Sources   Download

MIT

The Requires

 

by Sander de Jonge

api rest api sdk magento2

17/12 2017

v0.1

0.1.0.0

A proper Magento 2 rest api sdk

  Sources   Download

MIT

The Requires

 

by Sander de Jonge

api rest api sdk magento2