Skip to content

Commit fe030bb

Browse files
Small calarification in connecting docs.
1 parent 68ee4a1 commit fe030bb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/api/connecting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ A TAU token is required for both the realtime websocket API and the REST API. T
1111
TAU exposes a websocket endpoint at `ws://localhost:PORT/ws/twitch-events/` for a local deployment or `wss://yourdomain:PORT/ws/twitch-events/` for a served deployment. After connecting your client to the websocket, you must send a message containing the following json object:
1212
```
1313
{
14-
"token": "YOUR TOKEN HERE"
14+
"token": "YOUR TAU TOKEN HERE"
1515
}
1616
```
1717
After receiving your token, TAU will begin to broadcast incoming twitch events to your client.
1818

1919
## Connecting to the REST API
2020
TAU also provides 2 separate REST APIs. A passthrough of the Twitch Helix API at: `/api/twitch/helix`, and access to the data captured and stored by TAU at `/api/v1`. In order to authenticate requests, you must include an Authorization header:
2121
```
22-
Authorization: Token YOUR-TOKEN-HERE
22+
Authorization: Token YOUR-TAU-TOKEN-HERE
2323
```
2424
The Update Token Scopes page from the dashboard will allow you to add scopes to the Twitch token used by TAU.
2525

@@ -30,7 +30,7 @@ After connecting your client to the websocket, you must send a message containin
3030

3131
```
3232
{
33-
"token": "YOUR TOKEN HERE"
33+
"token": "YOUR TAU TOKEN HERE"
3434
}
3535
```
3636

scripts/scrape_event_sub_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_type_dict(soup, id):
4646
'description': cols[2].text.strip(),
4747
'type': cols[1].text.strip(),
4848
}
49-
49+
5050
return data
5151

5252

0 commit comments

Comments
 (0)