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
A work in progress library to connect to your Streamlabs account and catch all the Twitch events.
3
+
Library to connect to your Streamlabs account and catch all the `Twitch` events.
4
4
5
-
## Twitch event catchable
5
+
## Twitch catchable events
6
6
7
7
- Follow
8
8
- Subscription
9
+
- Resubscription
9
10
- Donation
10
11
- Raid
11
12
- Host
@@ -24,18 +25,18 @@ A work in progress library to connect to your Streamlabs account and catch all t
24
25
## Add library
25
26
Best thing is to use the Arduino Library Manager.
26
27
27
-
Go to Sketch > Include Library > Manage Libraries.
28
-
Install WebSockets by Markus Sattler
29
-
Install SocketIoClient
30
-
Install StreamlabsArduinoAlerts
31
-
Select Sketch > Include Library > StreamlabsArduinoAlerts
28
+
- Go to Sketch > Include Library > Manage Libraries.
29
+
- Install `WebSockets` by Markus Sattler
30
+
- Install `StreamlabsArduinoAlerts`
31
+
- Select Sketch > Include Library > StreamlabsArduinoAlerts
32
32
33
33
## Methods
34
34
#### connect(socket_token)
35
-
Method to connect to Streamlabs server, required [socket token](https://streamlabs.readme.io/docs/sockettoken).
35
+
Method to connect to Streamlabs server, required [socket token](#get-streamlabs-socket-token).
36
36
37
37
#### followTwitchEvent(callback)
38
38
#### subscriptionsTwitchEvent(callback)
39
+
#### resubscriptionsTwitchEvent(callback)
39
40
#### hostTwitchEvent(callback)
40
41
#### bitsTwitchEvent(callback)
41
42
#### raidsTwitchEvent(callback)
@@ -68,5 +69,8 @@ void loop() {
68
69
69
70
Event result documentation can be found on Streamlabs WebSite [HERE](https://dev.streamlabs.com/docs/socket-api)
70
71
72
+
## Get Streamlabs Socket Token
73
+
You can find yours at https://streamlabs.com/dashboard#/apisettings under "API TOKENS" then "Your Socket API Token". This token is bound to the account that you are logged in with. If you need to access the alerts of a streamer, ask them to provide you with a token from the above location.
74
+
71
75
### Issues ###
72
76
Submit issues to: https://github.com/lucalas/StreamlabsArduinoAlerts/issues
0 commit comments