vzaar/vzaar-api-php
最新稳定版本:v2.1.0
Composer 安装命令:
composer require vzaar/vzaar-api-php
包简介
The PHP client for Vzaar API.
README 文档
README
By vzaar
vzaar's PHP client for interacting with version 2 of the vzaar API.
Requirements
- Recommended: PHP 7.0+
- Minimum: PHP 5.6+
Installation
Install the package using composer:
composer install
If composer is not installed, please follow these instructions.
Backwards compatability
Versions 1 and 2 of the vzaar API are incompatable with each other. The same applies to the API SDKs. Some functionality available in the version 1 SDK has been deprecated in version 2 and will not be implemented. The version 2 API also has a different authentication mechanism so your existing API key will not work with version 2 SDKs.
To ease migration to the version 2 SDK, it is possible to use both versions without any conflicts.
Vzaar # <= this is version 1
VzaarApi # <= this is version 2
Usage
Configure your API credentials:
VzaarApi\Client::$client_id = '<your-client-id>';
VzaarApi\Client::$auth_token = '<your-auth-token>';
Usage instructions and examples are available on vzaar's documentation site.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
License
Released under the MIT License.
统计信息
- 总下载量: 144.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-01