chulchultrain / FriendLeague

Just Stats on my friends league stuff
MIT License
1 stars 0 forks source link

Need Data Workflow #1

Open chulchultrain opened 7 years ago

chulchultrain commented 7 years ago

curl account id from summoner name. curl matches played from account id (which yields the champ id for each map in the last) create and persist a map of champ id to number of games played on that champ and number of wins on that champ.

for each account, keep a counter basically stating when the last time was that you curl'd their match history. can also persist a map from summoner name to account id.

chulchultrain commented 4 years ago

A workflow necessary is when we update a players played matches. The application is reliant upon receiving data from the Riot API. Important questions are when do we trigger that we need more data from Riot's API? Given this data, how do we update our own stores to reflect more current data? How does this propagate back to the webpages that are displayed?