{"id":17950957,"url":"https://github.com/brucemacd/dota-match-odds-calculator","last_synced_at":"2025-04-03T15:49:13.944Z","repository":{"id":85118726,"uuid":"105327947","full_name":"BruceMacD/DOTA-Match-Odds-Calculator","owner":"BruceMacD","description":"Smart predictions for DOTA 2 match results.","archived":false,"fork":false,"pushed_at":"2018-03-31T16:17:15.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T21:57:18.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BruceMacD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-30T00:32:02.000Z","updated_at":"2020-11-12T23:09:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"27eab737-371f-4a70-a7fe-8592f63a5e48","html_url":"https://github.com/BruceMacD/DOTA-Match-Odds-Calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FDOTA-Match-Odds-Calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FDOTA-Match-Odds-Calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FDOTA-Match-Odds-Calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FDOTA-Match-Odds-Calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BruceMacD","download_url":"https://codeload.github.com/BruceMacD/DOTA-Match-Odds-Calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247033670,"owners_count":20872523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T09:41:35.794Z","updated_at":"2025-04-03T15:49:13.914Z","avatar_url":"https://github.com/BruceMacD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOTA 2 eSports Odds Calculator\nSmart predictions for DOTA 2 match results.\n\nDeveloped for Atlantic Lottery Hackathon 005.\n\n## What is this?\n\nThis is a tool for processing large amounts of Dota 2 match data to determine team rankings. These rankings \nare then used to determine the probability of a given team winning a match.\n\n## Instructions\n\nUse the script in tools/get-matches-from-steam.py to get the required matches from the Steam API. It is required to update \nthis tool with your Steam API key before use. I have provided sample match-ids for matches that involved Dota players\nthat competed in The International 2017. Feel free to update this, I used the OpenDota platform to retrieve this data.\n\nConvert the retrieved match data into a csv file and move it into the data folder. This csv file was too large for github,\nfeel free to contact me for the match data csv I used.\n\nInstall any Python packages you require:\n```\nsudo pip install pandas\n```\n\nand run the application to generate a ranking of the teams:\n```\npython3 dota2-predictions.py\n```\n\nOptionally expose the results with an API for easy access.\n```\nFLASK_APP=match-odds-controller.py flask run\n```\n\n## Future Work\nI may expand this to more games and add some more data processing using machine learning techniques. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucemacd%2Fdota-match-odds-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucemacd%2Fdota-match-odds-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucemacd%2Fdota-match-odds-calculator/lists"}