This is a route that handles Menhera's data. The data are only auxiliary, they do not directly imply the operation of the main application. These are just for the best user experience, and help with development.
This routes are based on the
/data
endpoint.
Method | Endpoint | Description |
---|---|---|
GET | /statistics/bicho |
Returns the statistics of an user in Jogo do Bicho |
GET | /statistics/bicho/top |
Returns the top users of the Jogo do Bicho |
POST | /statistics/bicho |
Updates a player's data on the Jogo do Bicho |
GET | /statistics/blackjack |
Returns an user's Blackjack game information |
GET | /statistics/blackjack/top |
Returns the top blackjack players |
POST | /statistics/blackjack |
Updates a Blackjack player's data |
GET | /statistics/coinflip |
Returns an user's coinflips information |
GET | /statistics/coinflip/top |
Top coinflip players returns |
POST | /statistics/coinflip |
Update a coinflip player's data |
GET | /statistics/roulette |
Returns an user's roulette information |
GET | /statistics/roulette/top |
Top Roulette Players Returns |
POST | /statistics/roulette |
Updates a Roulette Player's Data |
GET | /statistics/poker |
Returns an user's poker information |
POST | /statistics/poker |
Post a poker round |
GET | /statistics/hunt |
Returns the user's hunt status |
GET | /statistics/hunt/top |
Returns the top hunters |
POST | /statistics/hunt |
Updates a Player's Data on Hunts |
GET | /statistics/rockpaperscissors |
Returns an user's rock paper scissors information |
POST | /statistics/rockpaperscissors |
Post a game of Rock Paper Scissors |
POST | /usages/commands |
Post a command execution |
GET | /usages/lastban/:id |
Get the date of the last ban of an user |
GET | /usages/bans/:id |
Get all bans from an user |
GET | /usages/transaction?userId=0&page=1 |
Get transactions related to an user |
POST | /usages/transaction |
Register a transaction |
GET | /usages/fazendinha?userId=0 |
Get the farm data from an user |
POST | /usages/fazendinha |
Register a farm action |
POST | /usages/fazendinha |
Register a farm action |
GET | /usages/fazendinha/top |
Returns the top 10 farmers that harvest more plants of a type |
GET | /usages/top/commands?userId |
Returns the top 10 commands used from all Menhera or an user |
GET | /usages/top/users?commandName |
Returns the top 10 users who most used commands from all Menhera or a command |
GET | /usages/user?userId=0 |
Returns the number of commands that an user has used, along with the command most used by him |