2017 © Pedro Peláez
 

library gotowebinar

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

image

flipminds/gotowebinar

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

  • Thursday, February 8, 2018
  • by flipminds
  • Repository
  • 1 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 170 % Grown

The README.md

GotoWebinar API

Description

A simple wrapper around the the GotoWebinar API., (*1)

Install via Composer

We recommend installing this package with Composer., (*2)

Run in your project root:, (*3)

composer require flipminds/gotowebinar:~1.0.0

Simple Usage

use FlipMinds\GotoWebinar\GotoWebinar;

$credentials = [
    'username' => ''
    'password' => ''
    'consumerKey' => ''
];

$gtw = new GotoWebinar($credentials);

$webinars = $gtw->getUpcoming();

$key = ''
foreach($webinars as $webinar) { 
    if (!$key) $key = $webinar->webinarKey;
}

$result = $gtw->createRegistrant($key, 'firstname','lastname','email);
print_r($result);

See the examples folder for more usages examples., (*4)

Caching the Authentication Token

By default GotoWebinar Authentication Tokens are valid for 356 days. Caching the token result in one less round trip to GotoWebinar servers., (*5)

You can use the getAuth() method call to retrieve an array of data that can be cached. You can use this array as a second argument to the constructor., (*6)

You can also set a callback to capture the authentication array after authenticating with GotoWebinar servers., (*7)


// $auth = getfromcache() $gtw = new GotoWebinar($credentials, $auth); // see Above $gtw->setAuthCallback(function($auth) { // save $auth to cache });

The Versions

08/02 2018

dev-master

9999999-dev

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

  Sources   Download

MIT

The Requires

 

by Sunil Jaiswal

api gotowebinar

18/09 2017

v1.0.3

1.0.3.0

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

  Sources   Download

MIT

The Requires

 

by Sunil Jaiswal

api gotowebinar

18/09 2017

v1.0.2

1.0.2.0

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

  Sources   Download

MIT

The Requires

 

by Sunil Jaiswal

api gotowebinar

18/09 2017

v1.0.1

1.0.1.0

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

  Sources   Download

MIT

The Requires

 

by Sunil Jaiswal

api gotowebinar

18/09 2017

v1.0.0

1.0.0.0

GotoWebinar REST API wrapper. Uses the new api.getgo.com/G2W/rest endpoint

  Sources   Download

MIT

The Requires

 

by Sunil Jaiswal