-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
169 lines (136 loc) · 4.83 KB
/
index.html
File metadata and controls
169 lines (136 loc) · 4.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/Code">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>API Zoom for Codeigniter 4</title>
<meta name="description" content="API Zoom for Codeigniter 4">
<meta name="author" content="Daycry">
<meta name="theme-color" content="#e7e7e7">
<link rel="stylesheet" href="https://unpkg.com/bootstrap@3/dist/css/bootstrap.min.css">
<style>
html {
position: relative;
min-height: 100%;
}
body {
padding-top: 50px;
margin-bottom: 100px;
}
.page-header {
/*padding: 40px 15px;*/
text-align: center;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background-color: #f5f5f5;
}
.container .text-muted {
margin: 20px 0;
}
</style>>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Zoom API</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="https://marketplace.zoom.us/docs/api-reference/zoom-api">Zoom API Docs</a></li>
<li><a href="https://github.com/daycry/zoom">Source</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="page-header">
<h1>Zoom API</h1>
<p class="lead">Zoom API for Codeigniter 4.</p>
</div>
<h2>Installation <a href="https://github.com/daycry/zoom">
<span class="glyphicon glyphicon-edit small" aria-hidden="true" title="Edit this page on GitHub"></span></a></h2>
<div class="container">
<ul class="nav nav-tabs">
<li class="active">
<a href="#composer" data-toggle="tab">Composer</a>
</li>
<li>
<a href="#manual" data-toggle="tab">Manual</a>
</li>
</ul>
<div class="tab-content ">
<div class="tab-pane active" id="composer">
<h4>With Composer</h4>
<p>The recommended and easy as pie method is <a href="https://getcomposer.org/">Composer</a>. Setup require in your projects composer.json file. Latest release: <a href="https://packagist.org/packages/abraham/twitteroauth"><img src="https://img.shields.io/packagist/v/daycry/zoom.svg"></a></p>
<pre>
composer require daycry/zoom
</pre>
<p>Import the Zoom Config class.</p>
<pre>
php spark zoom:publish
</pre>
<p>Authentification</p>
<pre>
$zoom = new \Daycry\Zoom\Zoom();
$token = $zoom->authentication();
</pre>
<p>Start making API requests.</p>
<pre>
$zoom = new \Daycry\Zoom\Zoom();
$zoom->setAccessToken( $token );
$reponse = $zoom->request( 'GET', 'users' );
var_dump( $reponse );
</pre>
</div>
<div class="tab-pane" id="manual">
<h4>The old fashioned way</h4>
<p>Download the <a href="https://github.com/daycry/zoom/releases">latest release</a> and unpack in a <code>app/ThirdParty</code> directory.</p>
<pre>
$psr4 = [
'Config' => APPPATH . 'Config',
APP_NAMESPACE => APPPATH,
'App' => APPPATH,
'Daycry\Zoom' => APPPATH .'ThirdParty/zoom/src',
];
</pre>
<p>Authentification</p>
<pre>
$zoom = new \Daycry\Zoom\Zoom();
$token = $zoom->authentication();
</pre>
<p>Start making API requests.</p>
<pre>
$zoom = new \Daycry\Zoom\Zoom();
$zoom->setAccessToken( $token );
$reponse = $zoom->request( 'GET', 'users' );
var_dump( $reponse );
</pre>
</div>
</div>
</div>
<h2>Requirements</h2>
<h4>PHP</h4>
<p>Versions <a href="https://secure.php.net/supported-versions.php">listed</a> as "active support" or "security fixes" are supported.</p>
<h4>Dependencies</h4>
<ul class="list-group">
<li class="list-group-item"><a href="http://php.net/manual/en/book.openssl.php">OpenSSL</a></li>
<li class="list-group-item"><a href="http://php.net/manual/en/book.curl.php">cURL</a></li>
</ul>
<script src="https://unpkg.com/jquery@3/dist/jquery.slim.min.js"></script>
<script src="https://unpkg.com/bootstrap@3/dist/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2/webcomponents-loader.js"></script>
<script src="https://unpkg.com/twitter-status@0/dist/twitter-status.min.js"></script>
<script src="https://unpkg.com/twitter-user@0/dist/twitter-user.min.js"></script>
</body>
</html>