2017 © Pedro Peláez
 

library gosquared-api

GoSquared API client

image

stloyd/gosquared-api

GoSquared API client

  • Tuesday, March 12, 2013
  • by stloyd
  • Repository
  • 1 Watchers
  • 5 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 4 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GoSquared API - PHP Client

A simple Object Oriented wrapper for GoSquared API, written with PHP., (*1)

Requirements

  • PHP >= 5.3.3 with cURL extension,
  • Buzz library,

Autoload

The new version of gosquared-api using Composer. The first step to use gosquared-api is to download composer:, (*2)

$ curl -s http://getcomposer.org/installer | php

Then we have to install our dependencies using:, (*3)

$ php composer.phar install

Now we can use autoloader from Composer by:, (*4)

{
    "require": {
        "stloyd/gosquared-api": "*@dev"
    }
}

gosquared-api follows the PSR-0 convention names for its classes, which means you can easily integrate gosquared-api classes loading in your own autoloader., (*5)

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., (*6)

The Versions

12/03 2013

dev-master

9999999-dev https://github.com/stloyd/gosquared-api

GoSquared API client

  Sources   Download

MIT

The Requires

 

by Joseph Bielawski

api analytics realtime gosquared