Skip to content

Commit b40ebd6

Browse files
authored
Merge pull request #25 from anxdpanic/dev
add offset, limit to followed games
2 parents fabd5c6 + 1938cdb commit b40ebd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/lib/twitch/api/v5/games.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ def _check_follows(username, name):
2929
# required scope: none
3030
# undocumented / unsupported
3131
@query
32-
def _get_followed(username):
32+
def _get_followed(username, limit=25, offset=0):
3333
q = HQry('users/{username}/follows/games')
3434
q.add_urlkw(keys.USERNAME, username)
35+
q.add_param(keys.LIMIT, limit, 25)
36+
q.add_param(keys.OFFSET, offset, 0)
3537
return q
3638

3739

0 commit comments

Comments
 (0)