@@ -7,8 +7,8 @@ discard block |
||
| 7 | 7 | class ZoomApi{ |
| 8 | 8 | |
| 9 | 9 | private $apiKey; |
| 10 | - private $apiSecret; |
|
| 11 | - private $apiUrl; |
|
| 10 | + private $apiSecret; |
|
| 11 | + private $apiUrl; |
|
| 12 | 12 | private $apiClient; |
| 13 | 13 | |
| 14 | 14 | public function __construct($apiKey, $apiSecret, $apiUrl = 'https://api.zoom.us/v1/') |
@@ -43,13 +43,13 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * |
|
| 47 | - * List Users |
|
| 48 | - * |
|
| 49 | - * @param integer $pageSize The amount of records returns within a single API call. Max of 300 users. |
|
| 50 | - * @param integer $pageNumber Current page number of returned records. Default to 1. |
|
| 51 | - * @return array |
|
| 52 | - */ |
|
| 46 | + * |
|
| 47 | + * List Users |
|
| 48 | + * |
|
| 49 | + * @param integer $pageSize The amount of records returns within a single API call. Max of 300 users. |
|
| 50 | + * @param integer $pageNumber Current page number of returned records. Default to 1. |
|
| 51 | + * @return array |
|
| 52 | + */ |
|
| 53 | 53 | public function listUsers($pageSize = 30, $pageNumber = 1) |
| 54 | 54 | { |
| 55 | 55 | $data['page_size'] = $pageSize; |
@@ -59,15 +59,15 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * |
|
| 63 | - * Create A Meeting |
|
| 64 | - * |
|
| 65 | - * @param string $hostId Meeting host user ID. Can be any user under this account |
|
| 66 | - * @param integer $type Meeting type |
|
| 67 | - * @param string $topic Meeting topic. Max of 300 characters |
|
| 68 | - * @param array $data Additional Data |
|
| 69 | - * @return array |
|
| 70 | - */ |
|
| 62 | + * |
|
| 63 | + * Create A Meeting |
|
| 64 | + * |
|
| 65 | + * @param string $hostId Meeting host user ID. Can be any user under this account |
|
| 66 | + * @param integer $type Meeting type |
|
| 67 | + * @param string $topic Meeting topic. Max of 300 characters |
|
| 68 | + * @param array $data Additional Data |
|
| 69 | + * @return array |
|
| 70 | + */ |
|
| 71 | 71 | public function createMeeting($hostId, $type, $topic, $data = []) |
| 72 | 72 | { |
| 73 | 73 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | // $body = $response->getBody()->getContents(); |
| 37 | 37 | $result = json_decode($response->getBody(), true); |
| 38 | - }catch(GuzzleHttp\Exception\ClientException $ex){ |
|
| 38 | + } catch(GuzzleHttp\Exception\ClientException $ex){ |
|
| 39 | 39 | throw $ex; |
| 40 | 40 | } |
| 41 | 41 | |