Skip to content

Commit 72f2f65

Browse files
committed
・update document
- Add Expo Link - Add Example Link
1 parent 8cec4f8 commit 72f2f65

File tree

115 files changed

+582
-553
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+582
-553
lines changed

README.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Theta client for javascript.
1212
$ npm install @goroya.io/theta-api-client --save
1313
```
1414

15-
## Example
15+
## Quick Start
1616

1717
### HTTP Example
1818

@@ -51,6 +51,26 @@ this.thetaClient = new ThetaHttpClient({
5151
})();
5252
```
5353

54+
# Example
55+
56+
## Node.js
57+
58+
Please check following codes.
59+
https://github.com/goroya/theta-api-client.js/tree/master/example/node/take-picture-example
60+
61+
## React Native
62+
63+
Please check following codes.
64+
https://github.com/goroya/theta-api-client.js/tree/master/example/react-native/theta-example
65+
66+
## Demo
67+
### Expo(React Native)
68+
69+
Please visit following url.
70+
And Scan QR code using Expo App.
71+
72+
https://expo.io/@goroya/theta-example
73+
5474
## Theta Client API
5575

5676
### HTTP API

docs/classes/logger.html

+16-16
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h3>constructor</h3>
125125
<li class="tsd-description">
126126
<aside class="tsd-sources">
127127
<ul>
128-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L35">common/logger.ts:35</a></li>
128+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L35">common/logger.ts:35</a></li>
129129
</ul>
130130
</aside>
131131
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -147,7 +147,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> p<wbr>Level</h3>
147147
<div class="tsd-signature tsd-kind-icon">p<wbr>Level<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LogLevelDesc</span></div>
148148
<aside class="tsd-sources">
149149
<ul>
150-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L35">common/logger.ts:35</a></li>
150+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L35">common/logger.ts:35</a></li>
151151
</ul>
152152
</aside>
153153
</section>
@@ -165,15 +165,15 @@ <h3>level</h3>
165165
<li class="tsd-description">
166166
<aside class="tsd-sources">
167167
<ul>
168-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L21">common/logger.ts:21</a></li>
168+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L21">common/logger.ts:21</a></li>
169169
</ul>
170170
</aside>
171171
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">LogLevelDesc</span></h4>
172172
</li>
173173
<li class="tsd-description">
174174
<aside class="tsd-sources">
175175
<ul>
176-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L24">common/logger.ts:24</a></li>
176+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L24">common/logger.ts:24</a></li>
177177
</ul>
178178
</aside>
179179
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -199,7 +199,7 @@ <h3>debug</h3>
199199
<li class="tsd-description">
200200
<aside class="tsd-sources">
201201
<ul>
202-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L46">common/logger.ts:46</a></li>
202+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L46">common/logger.ts:46</a></li>
203203
</ul>
204204
</aside>
205205
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -222,7 +222,7 @@ <h3>error</h3>
222222
<li class="tsd-description">
223223
<aside class="tsd-sources">
224224
<ul>
225-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L67">common/logger.ts:67</a></li>
225+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L67">common/logger.ts:67</a></li>
226226
</ul>
227227
</aside>
228228
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -245,7 +245,7 @@ <h3>info</h3>
245245
<li class="tsd-description">
246246
<aside class="tsd-sources">
247247
<ul>
248-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L53">common/logger.ts:53</a></li>
248+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L53">common/logger.ts:53</a></li>
249249
</ul>
250250
</aside>
251251
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -268,7 +268,7 @@ <h3>trace</h3>
268268
<li class="tsd-description">
269269
<aside class="tsd-sources">
270270
<ul>
271-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L39">common/logger.ts:39</a></li>
271+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L39">common/logger.ts:39</a></li>
272272
</ul>
273273
</aside>
274274
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -291,7 +291,7 @@ <h3>warn</h3>
291291
<li class="tsd-description">
292292
<aside class="tsd-sources">
293293
<ul>
294-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L60">common/logger.ts:60</a></li>
294+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L60">common/logger.ts:60</a></li>
295295
</ul>
296296
</aside>
297297
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -313,7 +313,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> levels</h3>
313313
<div class="tsd-signature tsd-kind-icon">levels<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
314314
<aside class="tsd-sources">
315315
<ul>
316-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L27">common/logger.ts:27</a></li>
316+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L27">common/logger.ts:27</a></li>
317317
</ul>
318318
</aside>
319319
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
@@ -322,7 +322,7 @@ <h3>DEBUG</h3>
322322
<div class="tsd-signature tsd-kind-icon">DEBUG<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;1</span></div>
323323
<aside class="tsd-sources">
324324
<ul>
325-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L29">common/logger.ts:29</a></li>
325+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L29">common/logger.ts:29</a></li>
326326
</ul>
327327
</aside>
328328
</section>
@@ -332,7 +332,7 @@ <h3>ERROR</h3>
332332
<div class="tsd-signature tsd-kind-icon">ERROR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;4</span></div>
333333
<aside class="tsd-sources">
334334
<ul>
335-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L32">common/logger.ts:32</a></li>
335+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L32">common/logger.ts:32</a></li>
336336
</ul>
337337
</aside>
338338
</section>
@@ -342,7 +342,7 @@ <h3>INFO</h3>
342342
<div class="tsd-signature tsd-kind-icon">INFO<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;2</span></div>
343343
<aside class="tsd-sources">
344344
<ul>
345-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L30">common/logger.ts:30</a></li>
345+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L30">common/logger.ts:30</a></li>
346346
</ul>
347347
</aside>
348348
</section>
@@ -352,7 +352,7 @@ <h3>SILENT</h3>
352352
<div class="tsd-signature tsd-kind-icon">SILENT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;5</span></div>
353353
<aside class="tsd-sources">
354354
<ul>
355-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L33">common/logger.ts:33</a></li>
355+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L33">common/logger.ts:33</a></li>
356356
</ul>
357357
</aside>
358358
</section>
@@ -362,7 +362,7 @@ <h3>TRACE</h3>
362362
<div class="tsd-signature tsd-kind-icon">TRACE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;0</span></div>
363363
<aside class="tsd-sources">
364364
<ul>
365-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L28">common/logger.ts:28</a></li>
365+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L28">common/logger.ts:28</a></li>
366366
</ul>
367367
</aside>
368368
</section>
@@ -372,7 +372,7 @@ <h3>WARN</h3>
372372
<div class="tsd-signature tsd-kind-icon">WARN<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;3</span></div>
373373
<aside class="tsd-sources">
374374
<ul>
375-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/common/logger.ts#L31">common/logger.ts:31</a></li>
375+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/common/logger.ts#L31">common/logger.ts:31</a></li>
376376
</ul>
377377
</aside>
378378
</section>

docs/classes/thetaclientbase.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> logger</h3>
135135
<div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <a href="logger.html" class="tsd-signature-type">Logger</a><span class="tsd-signature-symbol"> =&nbsp;new Logger()</span></div>
136136
<aside class="tsd-sources">
137137
<ul>
138-
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/ac347a2/src/core/ThetaClientBase.ts#L5">core/ThetaClientBase.ts:5</a></li>
138+
<li>Defined in <a href="https://github.com/goroya/theta-api-client.js/blob/8cec4f8/src/core/ThetaClientBase.ts#L5">core/ThetaClientBase.ts:5</a></li>
139139
</ul>
140140
</aside>
141141
</section>

0 commit comments

Comments
 (0)