PHP code example of devgeniem / linkedevents-client

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

    

devgeniem / linkedevents-client example snippets




nt = new \Geniem\LinkedEvents\LinkedEventsClient( 'https://www.example.com/api/v2' );
$multiple = $client->get_all( 'event', [
    'start' => '2021-01-17',
    'end'   => '2021-01-20',
] );

$single = $client->get( 'event/system:kKCxAqpRX' );