예제 #1
0
function setup()
{
    $client = new Client();
    $client->setAccessToken("my_token");
    $client->setUrl("https://api.clicksign-demo.com/");
    $client->setAccessToken("xababa");
    $client->setUrl("http://localhost:3000/api/");
    return $client;
}
예제 #2
0
<?php

require_once __DIR__ . '/vendor/autoload.php';
use Clicksign\Client;
date_default_timezone_set('America/Bahia');
$client = new Client();
$client->setAccessToken("e8359b9a5520b002e4ab684695ced480");
//must be a valid token (ask Clicksign support team for a a valid token)
$client->setUrl("https://api.clicksign-demo.com/");
$docs = $client->documents->find('1e1ed8ff-3ca6-4ed0-b7e6-5c44d89e25bb');
print_r($docs);
date_default_timezone_set('America/Bahia');
$client = new Client();
$client->setAccessToken("e8359b9a5520b002e4ab684695ced480");
//must be a valid token (ask Clicksign support team for a a valid token)
$client->setUrl("https://api.clicksign-demo.com/");
$docs = $client->documents->find('1e1ed8ff-3ca6-4ed0-b7e6-5c44d89e25bb');
print_r($docs);
date_default_timezone_set('America/Bahia');
$client = new Client();
$client->setAccessToken("e8359b9a5520b002e4ab684695ced480");
//must be a valid token (ask Clicksign support team for a a valid token)
$client->setUrl("https://api.clicksign-demo.com/");
$docs = $client->documents->find('1e1ed8ff-3ca6-4ed0-b7e6-5c44d89e25bb');
print_r($docs);
예제 #3
0
<?php

require_once __DIR__ . '/vendor/autoload.php';
use Clicksign\Client;
date_default_timezone_set('America/Bahia');
$client = new Client();
$client->setAccessToken("ACCESS_TOKEN");
//must be a valid token (Ask Clicksign support team for a a valid token)
$client->setUrl("https://api.clicksign-demo.com/");
$docs = $client->documents->all();
print_r($docs);