TsWw Api Documentation

Here you can see a list of currently avaliable methods in this api



Basic:


Api basic url:

https://taskyonline.com/app/api/client{Token}/{method-name}?{parameters}

Example:

https://taskyonline.com/app/api/client{Token}/topGroups?offset=10&limit=10

The result wiil be a json serialized object.

Token:

You should head toward Task System Api Bot (telegram) to get a token.


Methods with star beside them, require a connected group to api account


Methods:

topGroups

This method returns a list of groups on TsWw ordered by group point

Parameters:

Result:

An ordered list of GroupInfo


usersCount

Returns an integer value of users count in connected group.

Result:

integer


getUsers

This method returns a list of users in connected group ordered by user point

Parameters:

Result:

An ordered list of UserInfo


getUser

This method returns a user which is registried in connected group

Parameters:

Result:

UserInfo


isUser

This method returns whether a user is registried in connected group

Parameters:

Result:

Bolean


Exceptions:

INVALID_ACCOUNT: Identifire is missing, invalid or unconfirmed!

GROUP_NOT_CONNECTED: Looks like your account is not connected to a group!

GROUP_NOT_FOUND: The connected group not found!

USER_NOT_FOUND: User not found. maybe he/she is registried somewhere else.

LIMITED: If you send more that 10 requests in 10 secs, you'll be limited for 10 sec