lingotek/php-sdk
最新稳定版本:1.0.0
Composer 安装命令:
composer require lingotek/php-sdk
包简介
The Lingotek PHP API Client
关键字:
README 文档
README
The Lingotek Platform is a set of APIs that allow you to push and pull multilingual content from the translation hub.
This repository contains an open source Lingotek SDK that allows you to access the Lingotek platform using PHP.
Usage
The examples are a good place to start. Here is an example snippet you might try to started:
require 'Lingotek.php'; $client = new /Lingotek/RestClient(array( 'access_token' => YOUR_ACCESS_TOKEN )); // Get Community $response = $client->get('community');
You can make api calls by choosing the HTTP method (e.g., GET, POST, PATCH, PUT, DELETE), the resource (e.g., project), and setting optional parameters:
$params = array( 'id' => YOUR_PROJECT_ID ); $client->get('project', $params);
Contributing
This open source project was started by Lingotek developers, but is now open to developers world-wide.
Report Issues/Bugs
Under *BSD 3-Clause License
统计信息
- 总下载量: 272
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-02-19