nokaut/restclient-shop-bundle

Rest client for shops - symfony2 bundle

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Installs: 105

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Open Issues: 0

pkg:composer/nokaut/restclient-shop-bundle

dev-master 2013-07-12 05:50 UTC

This package is not auto-updated.

Last update: 2022-03-27 23:39:50 UTC


README

Instalation

  1. Add line to require section in composer.json
"nokaut/restclient-shop-bundle": "dev-master"
  1. Update deps composer update
  2. Add ApiClientBundle to AppKernel
    $bundles = array(
        ...
        new Nokaut\Bundle\ApiClientBundle\ApiClientBundle()
    );

Configuration

#app/config/config.yml:

api_client:
    key_public: "yourPublicKey"
    key_private: "yourPrivateKey"

Usage

All what do you have to do, is get service from container:

$nokautClient = $this->get('nokaut.client');

Some example of usage client, you can get from here: https://github.com/GrupaNokaut/orderAPI/blob/master/example/simple.php