Coder Social home page Coder Social logo

echosignv3's Introduction

Echosign REST Api

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  );

echosignv3's People

Contributors

richardfrankza avatar nsbucky avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.