PHP code example of tkriek / copernica-api-php

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

    

tkriek / copernica-api-php example snippets


$api = new \TomKriek\CopernicaAPI\CopernicaAPI('access token here');

$api->database(1)->fields()->get();