Skip to content

ucshadow/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Project by Catalin

Public APIs:

Data for upcoming matches from

Programming languages:

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

alt text

  • Team presentation:

    • Team Logo
    • Each player's avatar
    • Each player's most played hero portrait

alt text

  • Team head-to-head past encounters (last 10 if 10):

    • Winning team logo
    • Tournament name

alt text

  • Team last 20 official matches:

    • Opponent team logo (click-able for match details)

alt text

  • 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

alt text

  • Calculated chances to win the match. Based on 5 criteria

    • leaderboardrankof each player: weight 15
    • last 20 matches: weight 15
    • history between teams: weight 20
    • top 3 heroes of each player win rate (in competitive matches): weight 20
    • team rating(overall): weight 20
    • luck: weight 10 (scrapped)

alt text

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.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published