lingotek / php-sdk
The Lingotek PHP API Client
1.0.0
2020-02-19 19:13 UTC
Requires
- php: >=5.3.0
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2025-06-20 07:06:22 UTC
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