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

Velocify PHP API - an easy to use version of the PHP Velocify API using GuzzleHTTP.

v0.0.2.2 2017-08-29 18:25 UTC

This package is auto-updated.

Last update: 2024-11-13 05:26:42 UTC


README

Master Branch

Build Status

Dev Branch

Build Status

Velocify PHP API - an easy to use version of the PHP Velocify API using GuzzleHTTP.

Requirements

PHP 7.0 and later

Installation & Usage

Composer

To install the bindings via Composer:

composer require darkgoldblade01/velocify

Getting Started

Getting started is easy, you just have to pass the variables required to use the endpoints you want. For instance, the access token is not required if you are using the authorzation endpoints, but everything is required for any other request.

<?php
$velocify = new darkgoldblade01\Velocify\Velocify([
    'username' => '_YOUR_USERNAME_',
    'password' => '_YOUR_PASSWORD_',
]);

Leads

Get, update, and delete leads.

Setup

<?php
$velocify = new darkgoldblade01\Velocify\Velocify([
    'username' => '_YOUR_USERNAME_',
    'password' => '_YOUR_PASSWORD_',
]);

List All Leads

This will return all of the contacts in Velocify, based on the $startDate and $endDate.

$campaigns = $velocify->leads()->listLeads($startDate, $endDate);