darkgoldblade01 / velocify
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
Requires
- php: >=7.1
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ~6.0
- nesbot/carbon: ^1.22
- suramon/simple-xml-reader: ^1.2
Requires (Dev)
- phpunit/phpunit: ~4.8
- victorjonsson/markdowndocs: ^1.3
- wanfeiyy/dd: ^1.0
This package is auto-updated.
Last update: 2024-11-13 05:26:42 UTC
README
Master Branch
Dev Branch
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);