Gollos Rest API Client: Manage e-commerce operations using the Gollos API

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 142 All time: 8,935 This week: 390Up
Version License PHP version Categories
gollosrestapi 1.0.2BSD License5.0PHP 5, E-Commerce, Web services
Description Author

This class can eanage e-commerce operations using the Gollos API.

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

Currently it can retrieve, add, update and delete products, groups, customers, vendors, products and orders.

Picture of Dmitry Mamontov
  Performance   Level  
Name: Dmitry Mamontov <contact>
Classes: 15 packages by
Country: Russian Federation Russian Federation
Age: 29
All time rank: 88632 in Russian Federation Russian Federation
Week rank: 127 Up9 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 6x

Details

Latest Stable Version License Total Downloads

Gollos Rest API Client

This class can eanage e-commerce operations using the Gollos API.

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

Currently it can retrieve, add, update and delete products, groups, customers, vendors, products and orders.

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

2) Follow in the project folder:

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.

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

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

Examples of use

Getting information about the order

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

Creating a client

$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);
  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file example.php Example Example script
Plain text file GollosRestApi.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:142
This week:0
All time:8,935
This week:390Up
User Comments (1)
 

For more information send a message to info at phpclasses dot org.