marchrius/viglink-php-api
Composer 安装命令:
composer require marchrius/viglink-php-api
包简介
An easy-to-use PHP Class for accessing VigLink's API.
README 文档
README
A PHP wrapper for the VigLink API. Feedback or bug reports are appreciated.
Composer package available.
Requirements
- PHP 5.3 or higher
- cURL
- Registered account on VigLink
Get started
To use the VigLink API you have to register yourself as a developer at the VigLink Developer Platform. At User's campaigns informations you will receive your api_key and secret_key.
A good place to get started is the example project.
Installation
I strongly advice using Composer to keep updates as smooth as possible.
$ composer require marchrius/viglink-php-api
Initialize the class
use Marchrius\VigLink\VigLink;
$viglink = new VigLink(array(
'api_key' => 'YOUR_APP_KEY',
'secret_key' => 'YOUR_APP_SECRET'
));
All methods return the API data json_decode() - so you can directly access the data as stdClass.
Examples
Check out the examples directory for standard PHP examples (no laravel integration)
Changelog
Please see the changelog file for more information.
Credits
Copyright (c) 2017 - Programmed by Matteo Gaggiano
Released under the BSD License.
统计信息
- 总下载量: 594
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-09-04