yicr / php-json-api-client
1.0.0
2016-06-17 09:21 UTC
Requires
- php: >=5.3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-04-21 07:35:21 UTC
README
Description
description.
Requires
- PHP 5.3.3 or Higher
Installation
include for yicr/php-json-api-client
in your composer.json
file. For example:
$ composer.phar require yicr/php-json-api-client
{
"require": {
"yicr/php-json-api-client": "*"
}
}
Example
example
require __DIR__ . '/vendor/autoload.php';
use Yicr\SimpleJsonApiClient\Client;
try {
$client = new Client('api.example.jp');
$response = $client->call('/path/to/endpoint/');
} catch (Exception $ex) {
//var_dump($ex);
}
Thank you.