inwendo/iw_client_latex_php
Composer 安装命令:
composer require inwendo/iw_client_latex_php
包简介
API Component for the inwendo Latex To PDF Converter
README 文档
README
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 0.0.1
- Package version: 1.0
- Build date: 2017-03-31T13:20:13.635+02:00
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/inwendo/iw_client_latex_php.git"
}
],
"require": {
"inwendo/iw_client_latex_php": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
require_once('/path/to/InwendoLatexApi/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit lib/Tests
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: password Inwendo\Latex\Common\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); $api_instance = new Inwendo\Latex\Common\Api\DocumentApi(); try { $result = $api_instance->getDocumentCollection(); print_r($result); } catch (Exception $e) { echo 'Exception when calling DocumentApi->getDocumentCollection: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://latex.service.inwendo.cloud/
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DocumentApi | getDocumentCollection | GET /documents | Retrieves the collection of Document resources. |
| DocumentApi | getDocumentItem | GET /documents/{id} | Retrieves a Document resource. |
| DocumentApi | postDocumentCollection | POST /documents | Creates a Document resource. |
| DocumentApi | putDocumentItem | PUT /documents/{id} | Replaces the Document resource. |
| EnvironmentDataApi | getEnvironmentDataCollection | GET /environment_datas | Retrieves the collection of EnvironmentData resources. |
| EnvironmentDataApi | getEnvironmentDataItem | GET /environment_datas/{id} | Retrieves a EnvironmentData resource. |
| EnvironmentDataApi | putEnvironmentDataItem | POST /environment_data | Creates a EnvironmentData resource. |
Documentation For Models
Documentation For Authorization
password
- Type: OAuth
- Flow: password
- Authorization URL:
- Scopes:
- write: allows modifying resources
- read: allows reading resources
Author
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache
- 更新时间: 2017-04-04