cannedyeti / ultimate-bravery-v3

0 stars 0 forks source link

Create function to pull most recent patch info from Riot API #2

Closed cannedyeti closed 6 months ago

cannedyeti commented 6 months ago

We should be able to get away with using a lambda function to pull the most recent patch version number (something like 14.4.1) and possibly whatever data we plan to use every morning. This way we dont need to call the api's for every request and we don't need a DB for basic info.

Should be something like

  1. Call api from riot at 1am every day
  2. get info from said api call
  3. write/overwrite info to existing json file (can be stored in an S3 most likely)
  4. use that info to run app
cannedyeti commented 6 months ago

This may default to me since I need to setup and S3 and lambda. Once those are in, I should be able to add credentials to make GET requests to the S3 for the required data.