unoeuro / api-php
A PHP library for interacting with the Simply.com REST API.
v1.0.1
2016-04-23 13:48 UTC
Requires
- php: >=5.3
- ext-json: *
- guzzlehttp/guzzle: ~6
This package is not auto-updated.
Last update: 2024-05-25 16:33:56 UTC
README
Description
This package provides a PHP interface to the Simply.com REST API.
Install via Composer
We recommend installing this package with Composer.
Download Composer
To download Composer, run in the root directory of your project:
curl -sS https://getcomposer.org/installer | php
You should now have the file composer.phar
in your project directory.
Install Dependencies
Run in your project root:
php composer.phar require unoeuro/api-php
Require Autoloader
After installing the dependencies, you need to require the Composer autoloader from your code:
require 'vendor/autoload.php';
Usage
require 'vendor/autoload.php'; $unoeuro = new UnoEuro\Client('account', 'apikey'); $products = $unoeuro->get('my/products/'); var_dump($products);
Contributing
Please submit pull requests, we love you <3