unjudder/poeditor-api-client
Composer 安装命令:
composer require unjudder/poeditor-api-client
包简介
Poeditor API Client
关键字:
README 文档
README
Poeditor API Client Module written in PHP.
Overview
API Client Interface for Poeditor API.
Installation
Use Composer to install the Poeditor Api Client.
Add the following lines to your composer.json file.
"require": { "unjudder/poeditor-api-client": "dev-master" }
Try It out
use Uj\Poed\Api\Client; $apiClient = new Client("YOUR API ACCESS TOKEN"); // list all projects // returns Uj\Poed\Entity\Project[] $apiClient->getProjects(); // return a specific project // returns Uj\Poed\Entity\Project $project = $apiClient->getProject($projectID); // add a language to the project $project->addLanguage('en'); // deletes the given language $project->deleteLanguage('en'); // list all terms // returns \Uj\Poed\Entity\Term[] $project->getTerms(); // list all definitions // returns \Uj\Poed\Entity\Definition[] $project->getDefinitions($languageCode);
License
The files in this project are released under the unjudder license.
Please find a copy of this license bundled with this package in the file LICENSE.md.
Our License is also available through the web at: http://unjudder.com/license/new-bsd.
统计信息
- 总下载量: 2.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-02-07