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
Requires
- php: ^7.0
- mashape/unirest-php: ^3.0
Requires (Dev)
README
It is a package that allows you to communicate with the Parkimeter CMS API.
Requirements
- cURL
- PHP 5.4+
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