2017 © Pedro Peláez
 

library gollos-restapi

PHPClient to work with through Gollos Rest API.

image

dmamontov/gollos-restapi

PHPClient to work with through Gollos Rest API.

  • Sunday, May 10, 2015
  • by dmamontov
  • Repository
  • 2 Watchers
  • 2 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Latest Stable Version License Total Downloads, (*1)

Gollos Rest API Client

This class can eanage e-commerce operations using the Gollos API., (*2)

It can send HTTP requests to the Gollos API Web server to perform several types of operations with customers, vendors, products, orders, etc.., (*3)

Currently it can retrieve, add, update and delete products, groups, customers, vendors, products and orders., (*4)

Requirements

  • PHP version >5.0
  • curl

Available methods

  • getProducts, addProducts, updateProducts, removeProducts
  • getGroups, addGroups, updateGroups, removeGroups
  • getVendors, addVendors, updateVendors, removeVendors
  • getCustomers, addCustomers, updateCustomers, removeCustomers
  • getOrders, removeOrders

Installation

1) Install composer, (*5)

2) Follow in the project folder:, (*6)

composer require dmamontov/gollos-restapi ~1.0.0

In config composer.json your project will be added to the library dmamontov/gollos-restapi, who settled in the folder vendor/. In the absence of a config file or folder with vendors they will be created., (*7)

If before your project is not used composer, connect the startup file vendors. To do this, enter the code in the project:, (*8)

require 'path/to/vendor/autoload.php';

Examples of use

Getting information about the order

``` php $gollos = new GollosRestApi($key, $secretKey); $order = $gollos->getOrders(array('id' => 25648));, (*9)

### Creating a client

``` php
$gollos = new GollosRestApi($key, $secretKey);
$customer = array(
    'first_name' => 'Test',
    'last_name'  => 'Test',
    'username' => 'dtest',
    'password' => uniqid(),
    'ip' => '85.198.127.82'
);
$result = $gollos->addCustomers($customer);

The Versions

10/05 2015

dev-master

9999999-dev http://www.slobel.ru/

PHPClient to work with through Gollos Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client gollos

10/05 2015

1.0.0

1.0.0.0 http://www.slobel.ru/

PHPClient to work with through Gollos Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client gollos