Giter VIP home page Giter VIP logo

tetostats-recorder's Introduction

Tetostats-recorder

A program that periodically saves TETR.IO stats

How to use?

  1. Download and install Node.JS
  2. Clone or download this repository
  3. Open a terminal or cmd in the source directory and type npm start so that the program starts working

How to config?

  1. Open the config.json file from the program's root directory.
  2. Change the options, following the guide below
  3. Enjoy ;)

Modify the config file

WARNING: DO NOT REMOVE ANY PROPERTY AS IT WILL CRASH THE PROGRAM

Property Meaning
outputDir The path to the directory your data will go in
data.leaderboards The request list the program will make (check section below)
data.savedStats The stats the program will save (check Tetra channel API docs)
data.interval The interval, in seconds, at which the program will make its request (one request per second max)
data.removeLocalDuplicates Will remove duplicates in a same time period
data.removeGlobalDuplicates Will not add the time period if it is exactly the same as the last one

Request list

Each element from the request list will be formatted as follow: leaderboard#country&option1&option2 ex. tl#fr&l50 means tetra league leaderboard for france with a limit of 50

  • leaderboards can be "tl" (tetra league), "tlf" (tetra league full export) or "xp" (xp)
  • options can be (except for "tlf"): "&l" (limit), "&a" (after) and "&b" (before). Check Tetra channel API docs for more infos

tetostats-recorder's People

Contributors

cankyre avatar

Stargazers

 avatar

Watchers

 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.