Im noob and its my first time trying to understand how api works, also im way bellow the "beginner" stage in programming... What im trying to do right now is get the monthly unique players value from a specific server in this case its "https://api.battlemetrics.com/servers/8113868/unique-player-history" i put some code into a php file and the result is this: Array ( [data] => Array ( [0] => Array ( [type] => dataPoint [attributes] => Array ( [timestamp] => 2024-01-01T00:00:00.000Z [value] => 935 ) ) ) ) wich i guess the number of unique players on 1st of january of 2024 was 935, right? If this is true and ive done everything right, the next question is how i store this data for more then 3 months? Do i need a data base? Becouse it seems i can only get information based on the last 3 months, so i think i need to store all these values in a db and sum them up and have them displayed on my web?
I have no ideea if what ive said even make sense but if someone can help me with some suggestions or make me understand this i would highly apreciate it!