>

Installation

With Composer

The recommended and easy as pie method is Composer. Setup require in your projects composer.json file. Latest release:

    composer require daycry/zoom

Import the Zoom Config class.

    php spark zoom:publish

Authentification

    $zoom = new \Daycry\Zoom\Zoom();
    $token = $zoom->authentication();

Start making API requests.

    $zoom = new \Daycry\Zoom\Zoom();
    $zoom->setAccessToken( $token );
    $reponse = $zoom->request( 'GET', 'users' );

    var_dump( $reponse );

The old fashioned way

Download the latest release and unpack in a app/ThirdParty directory.

    $psr4 = [
        'Config'      => APPPATH . 'Config',
        APP_NAMESPACE => APPPATH,
        'App'         => APPPATH,
        'Daycry\Zoom' => APPPATH .'ThirdParty/zoom/src',
    ];

Authentification

        $zoom = new \Daycry\Zoom\Zoom();
        $token = $zoom->authentication();
    

Start making API requests.

        $zoom = new \Daycry\Zoom\Zoom();
        $zoom->setAccessToken( $token );
        $reponse = $zoom->request( 'GET', 'users' );

        var_dump( $reponse );
    

Requirements

PHP

Versions listed as "active support" or "security fixes" are supported.

Dependencies