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.
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);
This open source project was started by Lingotek developers, but is now open to developers world-wide.
Under *BSD 3-Clause License