1.0.0 • Published 10 years ago
sgdq-collector v1.0.0
sgdq-collector
:video_game: Backend data collector for SGDQ-Stats
Tools
- NodeJS
- node-scheduler for scheduling
- scrape-it for scraping donation page
- tmi.js for Twitch.tv data
- Firebase for backend storage
- MongoDB for local backup (and more data storage for later use)
Firebase Schema
data=> Holds collection of data points<epoch time>=> Entrym=> Total donations ($)d=> Total num donatorsv=> Number of Twitch viewrsgames=> Holds collection of games<epoch time>=> Start time of gametitle=> Name of gamerunner=> Name of speed runnerduration=> Planned duration of game's run *start_time=> Start time of game's run in epoch time (Redundant...)statsavg_donation=> Average donation ammount ($)max_donation=> Largest donation ammount ($)num_donators=> Number of individual donations (not a perfect 1-to-1 map, but close enough)total_donations=> Sum of all donations ($)
1.0.0
10 years ago