API Project by Catalin
Public APIs:
Data for upcoming matches from
Programming languages:
- Python -> Flask
- Javascript -> React
Hosted on Heroku free tier.
Since Heroku free tier puts the process to sleep if idle, please allow up to 90 seconds for the server to boot and download necessary data. I've tried to negate the impact on OpenDota API by downloading all the necessary data on server boot-up (there are around 200 queries and 3 a second is the recommended amount by OpenDota guidelines).
Description:
The purpose of this App is to predict the chances for a team to win over the other team on a game of Dota 2.
Although the example from heroku is hardcoded with 6 teams, the App is capable to run and auto-update with upcoming matches.
Presentation:
- Upcoming matches, a list of matches that are soon to be played. Left team (represented by the team logo) vs Right team
-
Team presentation:
- Team Logo
- Each player's avatar
- Each player's most played hero portrait
-
Team head-to-head past encounters (last 10 if 10):
- Winning team logo
- Tournament name
-
Team last 20 official matches:
- Opponent team logo (click-able for match details)
-
Selected match details. The match can be selected by clicking a square in the 'last 20 matches' section. Main team is always on the left
- Team logos
- Each player's avatar and hero portrait of hero played in that specific match
- Score at the end of the game
- Tournament name and date
-
Calculated chances to win the match. Based on 5 criteria
The App uses little to no CSS.
Dimensions and positioning is calculated bases on the screen resolution.
Developed on 4k resolution, but 1k should look basically the same.
Details about the implementation process can be found in the code comments. Un-commented code should be self-explanatory.