Trying to work out how to make a website like this 05-04-2018, 01:26 PM
#1
The aim of the website:
I want to make a website that basically graphs data about how many players are in every single server on a particular game. Every hour it needs to scrape from this json file that's online which gives you current player counts and I need to save that data(I guess inside a csv file?) and the data I need to be saved is the current timestamp on the server, and the total player count(Grabs the player count from every server, adds it up and saves that total). Then after it's saved, I need to load that data onto the website whenever someone accesses the page, and the person can select an overview of the last 7 days/14 days/30 days/6 months/1 year and lifetime and it'll graph depending on what they select. Basically, I need the website to act exactly how this is done http://www.mauzen.org/samp/
Like I said, to get this data there is a URL I can access which has it all in JSON format if that makes it any easier, but I'm not sure how I can do this. Originally I thought maybe I can do this in NodeJS/JS but most tutorials about this I found where done in PHP. Obviously I'd want to make sure this runs and displays the data as quick as possible, but also I'm unsure if something like this could be done in JS/NodeJS. Basically, I'm trying to find out from you guys what could be the best libraries/frameworks I could use here as I feel this could be a good project for me.
I want to make a website that basically graphs data about how many players are in every single server on a particular game. Every hour it needs to scrape from this json file that's online which gives you current player counts and I need to save that data(I guess inside a csv file?) and the data I need to be saved is the current timestamp on the server, and the total player count(Grabs the player count from every server, adds it up and saves that total). Then after it's saved, I need to load that data onto the website whenever someone accesses the page, and the person can select an overview of the last 7 days/14 days/30 days/6 months/1 year and lifetime and it'll graph depending on what they select. Basically, I need the website to act exactly how this is done http://www.mauzen.org/samp/
Like I said, to get this data there is a URL I can access which has it all in JSON format if that makes it any easier, but I'm not sure how I can do this. Originally I thought maybe I can do this in NodeJS/JS but most tutorials about this I found where done in PHP. Obviously I'd want to make sure this runs and displays the data as quick as possible, but also I'm unsure if something like this could be done in JS/NodeJS. Basically, I'm trying to find out from you guys what could be the best libraries/frameworks I could use here as I feel this could be a good project for me.




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)











