Skip to content

joseayram/webinarjam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

Build Status Total Downloads Latest Stable Version Codacy Badge Scrutinizer Code Quality License

WebinarJam API implementation for PHP >= 7.0

About

This is a WebinarJam API implementation for PHP (>= 7.0) as documented in the official website

Requirements

1.PHP >= 7.0 2.ext-curl

Installation

You can add WebinarJam as a dependency using the composer CLI:

composer require joseayram/webinarjam

Alternatively, you can specify WebinarJam as a dependency in your project's existing composer.json file:

{
     "require": {
        "joseayram/webinarjam": "~1.0.2"
    }
}

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

Usage

Instance

`use joseayram\WebinarJam;`

`$webinarJam = new WebinarJam(YOUR_API_KEY);`

Retrieve a full list of all webinars published in your account (getWebinars)

`$webinarJam->getWebinars();`

Get details about one particular webinar from your account (getWebinar)

`$webinarJam->getWebinar(YOUR_WEBICODE);`

Register a person to a specific webinar (addToWebinar)

`$webinarJam->addToWebinar($webinarID, $firs_name, $email);`

Full Parameters list for this method

# Parameter Type Required? Default
1 Webinar ID String Yes none
2 First Name String Yes none
3 E-mail String Yes none
4 Schedule Integer Yes 0
5 Last Name String No null
6 Ip Address String No null
7 Country Code Integer No null
8 Phone Integer No null

Credits

The package was build based on the work of Cory Thompson in his WebinarJam Gist

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

WebinarJam API implementation for PHP is open-sourced software licensed under the MIT license.

Copyright

The WebinarJam logo, trademark and product name are property of Genesis Digital LLC.

About

Implements the WebinarJam API for PHP >= 7.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages