PHP code example of hafael / autum-platform-sdk

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

    

hafael / autum-platform-sdk example snippets


  
    Client = new Autum\SDK\Platform\Client(
        'API_KEY', 
        'BASE_URL',
    );

    //Get authenticated user info
    $response = $autumClient->users()->getAuthenticatedUser();

    var_dump($response->json());