A Laravel package to connect to Avanser call tracking API

2.0 2017-11-04 21:29 UTC

This package is not auto-updated.

Last update: 2024-05-07 15:58:19 UTC


README

This is a laravel package to connect to the Avanser call tracking platform.

http://www.avanser.com.au/

Installation

Composer

composer require wheredidgogogo/avanser

Laravel

Add Provider

In your config/app.php add the following Wheredidgogogo\Avanser\AvanserServiceProvider::class, to the providers array:

'providers' => [
    ...
    Wheredidgogogo\Avanser\AvanserServiceProvider::class,
    ...
],

'alias' => [
    ...
    'Avanser' => Wheredidgogogo\Avanser\AvanserFacade::class,
    ...
],

Publish Configuration

php artisan vendor:publish

This will genetate a config file config/avanser.php where you will need to enter your Avanser API credentials.

Use

$results = \Avanser::getCallData();

An array of values can be sent with the query:

date_from, date_to, last_id, limit, evaluations, features, wav, web, detailed, localtime