GithubHelp home page GithubHelp logo

shoro2 / eloparser Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 38 KB

A tool that parses player's elo in a txt file so you can work with it (twitch bot etc)

Home Page: https://ltdstats.com

C# 100.00%

eloparser's Introduction

EloParser

Using a local file or a custom command for your twitch bot to request and display your current LTD2 elo.

Via API request:

Nightbot:

!commands add !elo $(urlfetch https://ltdstats.com/api/playerInfo?playername=)

Moobot:

  1. Go to your control panel
  2. Commands -> Custom Commands
  3. 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

Cloudbot:

!commands add !elo $readapi(https://ltdstats.com/api/playerInfo?playername=)

Via local File:

  1. Download the 'Elo Parser.exe' in bin/realease or use Visual Studio to compile the project.
  2. Run the application
  3. Enter a name you want to monitor
  4. Click 'Start'
  5. The elo is parsed in .txt in the folder with the .exe
  6. 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.

eloparser's People

Contributors

shoro2 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.