lukasbesch / next-api-client

Example implementation of the edudip next api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This Client is deprecated

This repository will be removed on 31.03.2022

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. (PHP): Use libraries like guzzlehttp to realize your implementation.

edudip next API example wrapper

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.

How to run

  1. Clone this repository
  2. Run composer install
  3. Open src/example.php and set your API key
  4. Execute example.phpon the command line

How to integrate the library in an existing project

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.

About

Example implementation of the edudip next api


Languages

Language:PHP 100.0%