2017 © Pedro Peláez
 

library lcbo-php-api

PHP wrapper for LCBO official API

image

igorgrabarski/lcbo-php-api

PHP wrapper for LCBO official API

  • Saturday, December 23, 2017
  • by igorgrabarski
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PHP wrapper for official LCBO API

Installation:

  • Run in command line: composer require igorgrabarski/lcbo-php-api
  • Get API_KEY from here
  • Add your API_KEY to vendor/igorgrabarski/lcbo-php-api/.env.example file.
  • Rename vendor/igorgrabarski/lcbo-php-api/.env.example file to vendor/igorgrabarski/lcbo-php-api/.env

Usage

  • Add composer's autoloader to your file: require dirname( __DIR__ ) . '/vendor/autoload.php';
  • Create an instance of LCBO class: $lcbo = new igorgrabarski\LCBO();
  • Available methods:, (*1)

    • $lcbo->getStores($params);
    • $lcbo->getStore($id);
    • $lcbo->getProducts($params);
    • $lcbo->getProduct($id);
    • $lcbo->getInventories($params);
    • $lcbo->getInventory($store_id, $product_id);
    • $lcbo->getDatasets($params);
    • $lcbo->getDataset($id);
  • Get additional information here., (*2)

The Versions

23/12 2017

dev-master

9999999-dev

PHP wrapper for LCBO official API

  Sources   Download

MIT

The Requires

 

23/12 2017

1.0.3

1.0.3.0

PHP wrapper for LCBO official API

  Sources   Download

MIT

The Requires

 

21/12 2017

1.0.2

1.0.2.0

PHP wrapper for LCBO official API

  Sources   Download

MIT

The Requires

 

21/12 2017

1.0.1

1.0.1.0

PHP wrapper for LCBO official API

  Sources   Download

MIT

The Requires

 

21/12 2017

1.0.0

1.0.0.0

PHP wrapper for LCBO official API

  Sources   Download

MIT

The Requires