We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a2e2b2 commit a3c9c4eCopy full SHA for a3c9c4e
2 files changed
resources/lib/twitch/api/v5/bits.py
@@ -0,0 +1,13 @@
1
+# -*- encoding: utf-8 -*-
2
+# https://dev.twitch.tv/docs/v5/reference/bits/
3
+
4
+from twitch import keys
5
+from twitch.queries import V5Query as Qry
6
+from twitch.queries import query
7
8
9
+@query
10
+def cheermotes(channel_id=None):
11
+ q = Qry('bits/actions')
12
+ q.add_param(keys.CHANNEL_ID, channel_id, None)
13
+ return q
resources/lib/twitch/keys.py
@@ -10,6 +10,7 @@
BROADCAST_TYPE = 'broadcast_type'
BROADCASTS = 'broadcasts'
CHANNEL = 'channel'
+CHANNEL_ID = 'channel_id'
14
COMMUNITIES = 'communities'
15
COMMUNITY_ID = 'community_id'
16
CURSOR = 'cursor'
0 commit comments