· 6 years ago · Feb 16, 2020, 07:08 PM
1csgotwitterbot api endpoints
2
3[url]/user/[username]/getteams
4 returns all teams user is currently subscribed to
5
6[url]/user/[username]/addteams
7requires: one JSON object with a teamsToAdd key with value(s) in a string array
8 returns json with a confirmation message and the teams from request added to the database for the user.
9
10[url]/user/[username]/removeteams
11requires: one JSON object with a teamsToRemove key with value(s) in a string array
12 returns json with a confirmation message and the teams from request removed from the database for the user.
13
14[url]/teams/[teamname]/getusers
15 returns all users currently subscribed to given team