You can see my notebook about Elo rating system.
python flask_api.py
- ratings: list where each value indicates the current score the player.
- orders: list where each value indicates the place the player (you can submit a empty list if order is 1 to n).