vigicorp / yousign-api
v0.0.3
2022-10-20 09:12 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2024-09-21 13:59:25 UTC
README
未提供描述(由 Swagger Codegen 生成 https://github.com/swagger-api/swagger-codegen)
此 PHP 包是由 Swagger Codegen 项目自动生成的
- API 版本:2.1
- 构建包:io.swagger.codegen.languages.PhpClientCodegen
要求
PHP 5.5 及以上
安装与使用
Composer
要通过 Composer 安装绑定,请在 composer.json
中添加以下内容
{
"repositories": [
{
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
然后运行 composer install
手动安装
下载文件并包含 autoload.php
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
测试
要运行单元测试
composer install
./vendor/bin/phpunit
入门
请按照 安装程序 进行操作,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new YouSign\Client\Api\AuthenticationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $id = "id_example"; // string | $authorization = "\"Bearer {{access_token}}\""; // string | Authentication credentials for HTTP authentication try { $result = $apiInstance->authenticationsEmailIdGet($id, $authorization); print_r($result); } catch (Exception $e) { echo 'Exception when calling AuthenticationsApi->authenticationsEmailIdGet: ', $e->getMessage(), PHP_EOL; } ?>
API 端点文档
所有 URI 都是相对于 https://api.yousign.com
模型文档
- AuthenticationEmailOutput
- AuthenticationInweboOutput
- AuthenticationSmsOutput
- Body
- Body1
- Body2
- Body3
- CheckDocumentBankAccountsInput
- CheckDocumentBankAccountsOutput
- CheckDocumentIdentitiesInput
- CheckDocumentIdentitiesOutput
- Company
- CompanyConfig
- ConfigEmailTemplate
- ConfigWebhookTemplate
- FileInput
- FileObjectInput
- FileObjectInputWithoutFileReference
- FileObjectOutput
- FileObjectOutputWithoutFileReference
- FileOutput
- InlineResponse400
- InweboUserRequest
- MemberInput
- MemberOutput
- ModeSmsConfiguration
- OperationOutput
- ProcedureConfig
- ProcedureConfigEmail
- ProcedureConfigReminder
- ProcedureConfigReminderConfig
- ProcedureConfigReminderConfigEmail
- ProcedureConfigWebhook
- ProcedureDuplicateInput
- ProcedureInput
- ProcedureOutput
- ProcedureRemindConfig
- ProcedureRemindConfigEmail
- ProcedureRemindInput
- ServerStampConfig
- ServerStampConfigWebhook
- ServerStampInput
- ServerStampOutput
- SignatureUiInput
- SignatureUiInputRedirectCancel
- SignatureUiInputRedirectError
- SignatureUiInputRedirectSuccess
- SignatureUiInputUpdate
- SignatureUiLabelInput
- SignatureUiLabelInputIncluded
- SignatureUiLabelOutput
- SignatureUiOutput
- SignatureUiOutputRedirectCancel
- SignatureUiOutputRedirectError
- SignatureUiOutputRedirectSuccess
- UserGroup
- UserInput
- UserOutput
- UserUpdateInput
授权文档
ApiKey
- 类型:API密钥
- API密钥参数名:Authorization
- 位置:HTTP头