nsbucky/echosignv3
最新稳定版本:v1.1
Composer 安装命令:
composer require nsbucky/echosignv3
包简介
Adobe Echosign REST API v3
关键字:
README 文档
README
This library handles responses and request for Adobe's Echosign REST API v3. Please take a look at their documentation for more explanation on what their service provides. https://secure.echosign.com/public/docs/restapi/v3
Requirements
PHP 5.4, php ext-filter. You will need to have an oAuth token generated by Adobe to interact with their service. You can sign up online at https://www.echosign.adobe.com/en/home.html
Installation
In the require key of composer.json file add the following
"nsbucky/echosignv3": "dev-master"
Usage
All endpoints are available. Each endpoint needs an oAuth token and transport to function. A default transport provided by GuzzleHttp comes standard.
use Echosign\Transports\GuzzleTransport;
use Echosign\BaseUris;
$transport = new GuzzleTransport();
$baseUris = new BaseUris( 'YOUR oAUTH TOKEN', $transport );
$baseUriInfo = $baseUris->getBaseUris();
echo $baseUriInfo->getApiAccessPoint(); // https://api.echosign.com
Creators
Some of the more complex request are a pain to build, so try using one of the Creators instead. This one for example will create a transient document from a local file, then create a signing request for the specified email.
use Echosign\Creators\Agreement;
$agreementCreator = new Agreement( 'YOUR oAUTH TOKEN' );
$agreementId = $agreementCreator->createTransientAgreement( $signerEmail, $message, $filepath, $agreementName );
统计信息
- 总下载量: 3.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-30