Provides an example PHP wrapper for using the edudip next API (https://www.edudip-next.com/) This code can be used to list existing webinars, create new webinars and register new participants.
- Clone this repository
- Run
composer install
- Open
src/example.php
and set your API key - Execute
example.php
on the command line
This library uses composer for dependency management. If you already use composer (https://getcomposer.org/) add the following entry to the "repositories" field in your composer.json:
"repositories": [
{
"url": "https://github.com/edudip/next-api-client.git",
"type": "git"
}
],
Then add the following lines to the autoload
property:
"autoload": {
"psr-4": {
"Edudip\\Next\\ApiClient\\": "vendor/edudip/next-api-client/src/Edudip/Next/ApiClient"
}
},
Finally run composer update
to install the api client as dependency.
Please note that this code is a reference implementation and is an example of integration with your code base and is not guaranteed to work.