Using a local file or a custom command for your twitch bot to request and display your current LTD2 elo.
!commands add !elo $(urlfetch https://ltdstats.com/api/playerInfo?playername=)
- Go to your control panel
- Commands -> Custom Commands
- in the new window select:
Response: URL fetch - full (plain) response
Url to fetch: 'https://ltdstats.com/api/playerInfo?playername=<your playername here>'
URL response type: plain text
Request Method: GET
!commands add !elo $readapi(https://ltdstats.com/api/playerInfo?playername=)
- Download the 'Elo Parser.exe' in bin/realease or use Visual Studio to compile the project.
- Run the application
- Enter a name you want to monitor
- Click 'Start'
- The elo is parsed in .txt in the folder with the .exe
- Use your twitch bot to read the file
How it works: The tool has an integrated webbrowser that opens 'https://ltdstats.com/api/playerElo?playername=' and parses the element that contains the elo into a txt.