PHP code example of tomvlk / maniacalendar-php-sdk
1. Go to this page and download the library: Download tomvlk/maniacalendar-php-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/ */
tomvlk / maniacalendar-php-sdk example snippets
$eventHandler = new maniacalendar\Event("API KEY HERE");
// This will return a array with the request results. The array will be false and throw an exception on failure.
// Array will contain objects when the request was successfully.
$events = $eventHandler->getEvents();
// Output the events array
var_dump($events);
composer