1. Go to this page and download the library: Download slakbal/citrix 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/ */
// Return list of all the Webinars
$webinars = GotoWebinar::getAllWebinars();
// Return the list of all upcoming Webinars
$webinars = GotoWebinar::getUpcomingWebinars();
// Return list of historical Webinars - date format standard: W3C - ISO 8601
$dateRange = [ 'fromTime' => "2016-01-01T01:00:00Z",
'toTime' => "2016-03-23T20:00:00Z", ];
$webinars = GotoWebinar::getHistoricalWebinars( $dateRange );
// Return a specific Webinar
$webinar = GotoWebinar::getWebinar( $webinarKey );
// Create a Webinar - date format standard: W3C - ISO 8601
$webinar = [ 'subject' => 'API Test 2',
'description' => 'This Webinar is created via the API',
'startTime' => "2016-03-23T19:00:00Z",
'endTime' => "2016-03-23T20:00:00Z", ];
$webinar = GotoWebinar::createWebinar( $webinar );
// Update a Webinar - date format standard: W3C - ISO 8601
$webinar = [ 'subject' => 'API Test 2.2',
'description' => 'This Webinar is updated via the API',
'startTime' => "2016-03-24T19:00:00Z",
'endTime' => "2016-03-24T20:00:00Z", ];
$webinar = GotoWebinar::updateWebinar( $webinarKey, $params, $sendNotification = true);
// Delete a specific Webinar
$result = GotoWebinar::deleteWebinar( $webinarKey, $sendNotification = true );
// Return a list of attendees for a specific Webinar
$attendees = GotoWebinar::getWebinarAttendees( $webinarKey );
// Register an attendee for a specific Webinar
$webinarKey = '7102152795910768396';
$registrant = [ 'firstname' => 'Peter',
'lastname' => 'Pan',
'email' => '[email protected]',
'organization' => 'Neverland', ];
$result = GotoWebinar::registerAttendee( $webinarKey, $registrant );
// Return a list of registrants for a specific Webinar
$registrants = GotoWebinar::getWebinarRegistrants( $webinarKey );
// Return a specific registrant from a specific Webinar
$registrant = GotoWebinar::getWebinarRegistrant( $webinarKey, $registrantKey );
// Remove a specific registrant from a specific Webinar
$result = GotoWebinar::deleteWebinarRegistrant( $webinarKey, $registrantKey );
// Return list of sessions for the Organizer ()
$sessions = GotoWebinar::getOrganizerSessions();
// Return list of attendees for a specific Webinar and specific session
$attendees = GotoWebinar::getWebinarSessionAttendees( $webinarKey, $sessionKey );
// Return a specific attendee for a specific Webinar and specific session
$attendee = GotoWebinar::getWebinarSessionAttendee( $webinarKey, $sessionKey, $registrantKey );
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.