arturkp/vero-php-api

There is no license information available for the latest version (1.1) of this package.

Vero PHP API Client

1.1 2016-03-14 21:03 UTC

This package is not auto-updated.

Last update: 2020-07-06 05:57:58 UTC


README

Vero PHP client is using cURL on top on our Rest API. Here's how to use it:

$v = new \Vero\Vero("YOUR_AUTH_TOKEN");

$v->identify("1234567890", "jeff@yourdomain.com", array('First name' => 'Jeff', 'Last name' => 'Kane'));
$v->update("1234567890", array('First name' => 'Jack', 'Last name' => 'Wollo', 'job_title' => 'Developer'));
$v->tags('1234567890', array('Blog reader'), array());

$v->track("Subscribe to service", array('id' => '1234567890'), array('Plan name' => 'XL Plan', 'Price' => 149));

$v->unsubscribe("1234567890");

Change log

  • 20-12-2014: Fix for track function when no data are being tracked
  • 30-06-2015: Filenames uppercase, composer.json