Way too much code in one class/service and would be impossible for someone else to maintain.
Better name would be fetch.service.ts that uses a standings class to process data comparing new to old data to do all the current calculations.
Also needs to detect when the session has changed, this should be done from the fetch service and run a function on the standings class to clear old data.
Way too much code in one class/service and would be impossible for someone else to maintain.
Better name would be fetch.service.ts that uses a standings class to process data comparing new to old data to do all the current calculations.
Also needs to detect when the session has changed, this should be done from the fetch service and run a function on the standings class to clear old data.