pendo324 / dota-game-info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dota Game Info

Inspiration

There is a very common bot that is used by Dota 2 streamers called 9kmmrbot. It allows viewers to keep track of the streamer's W/L and other notable players in the game. This project is an attempt to streamline that interaction into a Twitch Extension.

Since the Steam API requires an API key, a proxy/cache of match data will also have to be stored on a backend (DyanmoDB + API Gateway + Lambda).

Components

API Proxy Lambda

This lambda will call the Steam API (perhaps using node-steamapi) and save the results back to a DynamoDB table. The lambda will be proxied by an API Gateway.

Specifically, the code will have to call the IDOTA2Match_570/GetMatchDetails/v1 endpoint.

Stack

This is a CDK project that sets up all of the aforementioned infrastructure (DynamoDB table, Lambda function, API Gateway).

When making any changes to the lambda function, make sure to run yarn run package in the lambda project, before running yarn run deploy in the stack project.

Twitch Extension

TODO. A React webapp that UI of the project. Will be an Overlay Extension that allows users to click on a hero in the hero bar at the top of the screen to see information on the player that is playing the clicked hero.

About


Languages

Language:TypeScript 80.8%Language:JavaScript 19.2%