File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
resources/lib/twitch/api/v5 Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <addon id =" script.module.python.twitch" name =" python-twitch for Kodi" version =" 2.0.0~alpha3 " provider-name =" A Talented Community" >
2+ <addon id =" script.module.python.twitch" name =" python-twitch for Kodi" version =" 2.0.0~alpha4 " provider-name =" A Talented Community" >
33 <requires >
44 <import addon =" xbmc.python" version =" 2.20.0" />
55 <import addon =" script.module.six" version =" 1.9.0" />
1414[add] add usher.live_request and usher.video_request
1515[add] MobileClient().revoke_token and MobileClient().get_app_access_token queries
1616[add] Kodi logging
17+ [add] v5 users.users
1718 </news >
1819 <assets >
1920 <icon >icon.png</icon >
Original file line number Diff line number Diff line change 99[add] add usher.live_request and usher.video_request
1010[add] MobileClient().revoke_token and MobileClient().get_app_access_token queries
1111[add] Kodi logging
12+ [add] v5 users.users
1213
13141.1.0
1415*** Twitch API V5 is deprecated and will be removed entirely on 2/14/18
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ def by_id(user_id):
2222 return q
2323
2424
25+ # required scope: user_read
26+ @query
27+ def users (logins ):
28+ q = Qry ('users' )
29+ q .add_param (keys .LOGIN , logins )
30+ return q
31+
32+
2533# required scope: user_subscriptions
2634@query
2735def get_emotes (user_id ):
You can’t perform that action at this time.
0 commit comments