Skip to content

Lingotek/php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lingotek PHP SDK

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