Skip to content

Commit dee877e

Browse files
committed
[v5] teams descriptive function naming
1 parent 09ae781 commit dee877e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88

99
@query
10-
def active(limit=25, offset=0):
10+
def get_active_teams(limit=25, offset=0):
1111
q = Qry('teams')
1212
q.add_param(keys.LIMIT, limit, 25)
1313
q.add_param(keys.OFFSET, offset, 0)
1414
return q
1515

1616

1717
@query
18-
def by_name(name):
18+
def get_team(name):
1919
q = Qry('teams/{team}')
2020
q.add_urlkw(keys.TEAM, name)
2121
return q

0 commit comments

Comments
 (0)