PHP code example of thundersquared / envato-api

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

    

thundersquared / envato-api example snippets


    

   $client = new \sqrd\Envato\API('your-personal-token-here', 'optional-user-agent-here');
   

   use \sqrd\Envato\API as Client;
   $client = new Client('your-personal-token-here', 'optional-user-agent-here');