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
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,27 @@
1
1
# sendbird-nodejs
2
2
Thin wrapper around SendBird Server REST API
3
3
4
+
# PLEASE NOTE THIS WORKS ON TOP OF `SENDBIRD V2.0` API - V3.0 WILL COME SOON
4
5
5
6
## Installation
6
7
`npm install sendbird-nodejs --save`
7
8
8
9
9
10
## Usage
10
-
See [SendBird Documentation](https://docs.sendbird.com/platform) for payload and response details.
11
+
See [SendBird Documentation](https://docs.sendbird.com/v2/platform) for payload and response details.
11
12
You don't need to pass the `auth` field on the payload, you provide it when creating a new instance of `SendBird` and it is attached to all requests.
12
13
13
14
```javascript
14
15
var SendBird =require('sendbird-nodejs');
15
16
var sb =newSendBird(config.sendBird.appToken);
16
17
```
17
18
18
-
The `sb` instance we just created has a field for each endpoint in the [SendBird Server API](https://docs.sendbird.com/platform#overview) that is an object with the endpoints methods.
The `sb` instance we just created has a field for each endpoint in the [SendBird Server API](https://docs.sendbird.com/v2/platform#overview) that is an object with the endpoints methods.
0 commit comments