Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 758 Bytes

File metadata and controls

11 lines (7 loc) · 758 Bytes

README

Simple API with Flask, and MongoDB

Based code reference from the article "Designing a RESTful API with Python and Flask"

Id HTTP Method URI Action
1 POST http://[hostname]/dota2test/api/v0.1/rangking Given a list of player(s) (either player_id or username and assuming all players have a Dota2 public profile*), return a leaderboard of the players based on their win rate over time (last week, last month, last year and all time)

*Dota 2 API](https://docs.opendota.com/