worldia / textmaster-api
Textmaster API v1 客户端
v1.1.0
2018-06-27 12:31 UTC
Requires
- php: >=5.6.0
- ext-curl: *
- guzzlehttp/guzzle: ^6.2
- pagerfanta/pagerfanta: ^1.0
- phpspec/php-diff: ^1.0
Requires (Dev)
- doctrine/orm: ^2.3
- friendsofphp/php-cs-fixer: @stable
- gedmo/doctrine-extensions: ^2.4
- phpunit/phpunit: ~5.7
- sylius/resource: 1.0.0-beta3
- symfony/http-foundation: ^2.7|^4.0
Suggests
- pagerfanta/pagerfanta: To use the manager
- symfony/http-foundation: To use the callback handler
README
这是一个简单的面向对象的 Textmaster API 包装器,使用 PHP5 编写。
使用 Textmaster API v1。对象 API 非常类似于 RESTful API。
功能
- 遵循 PSR-0/PSR-4 规范和编码标准:易于自动加载
- 轻量快速,得益于 API 类的惰性加载
- 经过广泛测试和文档化
要求
安装
$ php composer.phar require worldia/textmaster-api
php-textmaster-api
客户端的基本用法
$client = new \Textmaster\Client(); $projects = $client->projects()->all();
从 $client
对象,您可以访问整个 Textmaster API。
文档
有关更详细的文档,请参阅 doc
目录。[待编写]
许可证
php-textmaster-api
未授权。未经 worldia group sas 的书面同意,您不得使用它。
致谢
感谢 Textmaster 提供高质量的 API 和文档。