stloyd / gosquared-api
GoSquared API client
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/stloyd/gosquared-api
Requires
- php: >=5.3.3
- kriswallsmith/buzz: ~0.7
This package is auto-updated.
Last update: 2023-09-19 16:43:16 UTC
README
A simple Object Oriented wrapper for GoSquared API, written with PHP.
Requirements
Autoload
The new version of gosquared-api using Composer.
The first step to use gosquared-api is to download composer:
$ curl -s http://getcomposer.org/installer | php
Then we have to install our dependencies using:
$ php composer.phar install
Now we can use autoloader from Composer by:
{ "require": { "stloyd/gosquared-api": "*@dev" } }
gosquared-apifollows the PSR-0 convention names for its classes, which means you can easily integrategosquared-apiclasses loading in your own autoloader.
Basic usage of gosquared-api client
<?php // This file is generated by Composer require_once 'vendor/autoload.php'; $client = new GoSquared\Client(); echo $client->api('time')->show();
License
gosquared-api is licensed under the MIT License - see the LICENSE file for details.