2017 © Pedro Peláez
 

library cxense-insight-php-sdk

Library for interfacing with the Cxense Insight API

image

deseretdigital/cxense-insight-php-sdk

Library for interfacing with the Cxense Insight API

  • Friday, September 8, 2017
  • by janiv
  • Repository
  • 19 Watchers
  • 1 Stars
  • 4,797 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 7 % Grown

The README.md

Cxense Insight PHP SDK

Installation via composer

In composer.json Add the SDK to your require:, (*1)

"require": {
    "deseretdigital/cxense-insight-php-sdk": "~2.1"
}

Run composer install, (*2)

If you're not familiar with composer you can read up on it here https://getcomposer.org/, (*3)

Usage

include __DIR__ . '/vendor/autoload.php';

use CxInsightSDK\Traffic;

$traffic = new Traffic(
    'test@example.com',
    'apikey'
);

// Get data for one week's time
$options = [
    'start' => strtotime('-1 week'),
    'stop' => time(),
    'fields' => [
        'events',
        'uniqueUsers',
        'urls',
        'activeTime',
        'sessionStarts',
        'sessionStops',
        'sessionBounces'
    ],
    'filters' => [
        [
            'type' => 'event',
            'group' => 'url',
            'items'  => ['http://example.com']
        ]
    ],
    'siteIds' => [
        'siteId'
    ]
];

$data = $traffic->getData($options);

For more information on options/parameters that can be sent to the cxense API see the Cxense API Wiki., (*4)

NOTE: Currently this sDK only supports the following cxense API endpoints (additional endpoints can easily be added): /traffic, /traffic/event, /traffic/data, /traffic/custom, /dmp/traffic, /dmp/traffic/event, /dmp/traffic/custom, /document/search, /document/update, /profile/content/delete, /reports/search, /reports/search/usage, (*5)

The Versions

08/09 2017

dev-master

9999999-dev

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

08/09 2017

v2.4.0

2.4.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

05/09 2017

v2.3.0

2.3.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

11/07 2017

v2.2.0

2.2.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

09/06 2017

v2.1.0

2.1.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

21/01 2016

v2.0.0

2.0.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

20/01 2016

v1.2.3

1.2.3.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

20/01 2016

v1.2.2

1.2.2.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

19/01 2016

v1.2.1

1.2.1.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

19/01 2016

v1.2.0

1.2.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

insight cxense

02/11 2015

v1.1.0

1.1.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen

20/10 2015

v1.0.0

1.0.0.0

Library for interfacing with the Cxense Insight API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mark Lind
by Nate Christensen