PHP code example of inwendo / iw_client_latex_php

1. Go to this page and download the library: Download inwendo/iw_client_latex_php 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/ */

    

inwendo / iw_client_latex_php example snippets


    


onfigure OAuth2 access token for authorization: password
Inwendo\Latex\Common\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Inwendo\Latex\Common\Api\DocumentApi();

try {
    $result = $api_instance->getDocumentCollection();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocumentApi->getDocumentCollection: ', $e->getMessage(), PHP_EOL;
}


{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/inwendo/iw_client_latex_php.git"
    }
  ],
  "