Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- csgotwitterbot api endpoints
- [url]/user/[username]/getteams
- returns all teams user is currently subscribed to
- [url]/user/[username]/addteams
- requires: one JSON object with a teamsToAdd key with value(s) in a string array
- returns json with a confirmation message and the teams from request added to the database for the user.
- [url]/user/[username]/removeteams
- requires: one JSON object with a teamsToRemove key with value(s) in a string array
- returns json with a confirmation message and the teams from request removed from the database for the user.
- [url]/teams/[teamname]/getusers
- returns all users currently subscribed to given team
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement