PHP code example of lingotek / php-sdk
1. Go to this page and download the library: Download lingotek/php-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lingotek / php-sdk example snippets
$client = new /Lingotek/RestClient(array(
'access_token' => YOUR_ACCESS_TOKEN
));
// Get Community
$response = $client->get('community');
$params = array(
'id' => YOUR_PROJECT_ID
);
$client->get('project', $params);