The Chrome Dinosaur 🦖 Game in build with Pygame in Python.
Method | URL | Data Format | Description |
---|---|---|---|
POST | /user/v1/data | json | push user's point data |
POST | /user/v1/info | json | receive user's rank data in descending order |
POST | /user/v1/rank | json | receive the top 5 rank points |
Method | URL | Data Format |
---|---|---|
POST | /user/v1/data | json |
POST | /user/v1/info | json/array |
POST | /user/v1/rank | json |
- Response Code: 200
- Content:
/user/v1/data, /user/v1/info
{ "Message": array }
--
/user/v1/rank
{ "Args": double-dimensional array, "Count": integer, "Message": boolean }
- Response Code: 401 UNAUTHORIZED
- Content:
{ "Message": "Invalid Contents." }
- Response Code: 422 UNPROCESSABLE ENTRY
- Content:
{ "Message": "Please Check Your Data sets again." }