PHP code example of metatavu / linkedevents-php-client

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

    

metatavu / linkedevents-php-client example snippets


    


_instance = new Metatavu\LinkedEvents\Api\EventApi();
$eventObject = new \Metatavu\LinkedEvents\Model\Event(); // \Metatavu\LinkedEvents\Model\Event | 

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


{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/metatavu/linkedevents-php-client.git"
    }
  ],
  "