cmsparkimeter/apiwrapper

This package is abandoned and no longer maintained. No replacement package was suggested.

Bundle to be shared between the back and the front to communicate with the api

0.2.2 2017-06-24 18:03 UTC

This package is auto-updated.

Last update: 2017-07-25 18:24:45 UTC


README

It is a package that allows you to communicate with the Parkimeter CMS API.

Requirements

Installation

Using Composer

To install CMSParkimeterApiWrapper with Composer, just add the following to your composer.json file:

{
    "require": {
        "cmsparkimeter/apiwrapper": "0.0.1"
    }
}

or by running the following command:

composer require cmsparkimeter/apiwrapper

Basic Usage

Get all parking

Example:

$api = new Api();
$parkings = $api->parking()->get();

$parkings->getParking(); //Response Body (Array in this case)
$parkings->getCode(); //200