2017 © Pedro Peláez
 

library php-sdk

PHP Library for SlikIO - Charts for developers

image

slikio/php-sdk

PHP Library for SlikIO - Charts for developers

  • Wednesday, September 18, 2013
  • by daniel319b
  • Repository
  • 3 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

This is the SlikIO PHP SDK that allows you to access SlikIO from your PHP app., (*1)

Usage

Installation

First, register to SlikIO if you haven't done so already, then get the private API key, and initialize the framework:, (*2)

require_once 'vendor/autoload.php';

$slikio = new SlikIO('YOUR_PRIVATE_API_KEY');

With Composer: * Add the "slikio/php-sdk": "dev-master" into the require section of your composer.json. * Run composer install, (*3)

Pushing data to collections:

To push data to your collection use the sendData method:, (*4)

$slikio->sendData(COLLECTION_ID, data);

Example:, (*5)

$slikio->sendData("col_3890fc01750b17412", array(
    'user_id' => '123123',
    'email' => 'user@email.com',
    'action' => 'planPurchased',
    'cost' => 150.0
));

The Versions

18/09 2013

dev-master

9999999-dev https://slik.io

PHP Library for SlikIO - Charts for developers

  Sources   Download

MIT

The Requires

 

sdk charts graphs slikio slik.io