You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Creating and sending requests](#creating-and-sending-requests)
20
23
-[Services](#services)
21
24
-[Pre-bundled files on unpkg.com](#pre-bundled-files-on-unpkgcom)
22
25
23
26
## Installation
27
+
24
28
### Npm
29
+
25
30
```
26
31
npm install @goongmaps/goong-sdk
27
32
```
33
+
28
34
### Yarn
35
+
29
36
```
30
37
yarn add @gongmaps/goong-sdk
31
38
```
39
+
32
40
**If you are supporting older browsers, you will need a Promise polyfill.**
33
41
[es6-promise](https://github.com/stefanpenner/es6-promise) is a good one, if you're uncertain.
34
42
@@ -45,7 +53,7 @@ There are 3 basic steps to getting an API response:
45
53
46
54
### Creating clients
47
55
48
-
To **create a service client**, import the service's factory function from `'@goongmaps/goong-sdk/services/{service}'` and provide it with your access token.
56
+
To **create a service client**, import the service's factory function from `'@goongmaps/goong-sdk/services/{service}'` and provide it with your [access token](https://docs.goong.io/rest/api-key/).
49
57
50
58
The service client exposes methods that create requests.
0 commit comments