ππ This is a lambda function deployed to AWS that gets api data from odds-api and stores it in Amazon DynamoDB ππ.
This lambda function when stored in AWS gets invoked at certain times of the day that will update Amazon DynamoDB with latest bet data. This is an essential service for BeatingBookies, so that user can get the latest bet data.
Function invocation has been limited to three times a day to not exceed the odds-api monthly limit of 500 in the free tier.
-
Clone repository
git clone https://github.com/nipeshkc7/get-odds-api-lambda
-
Install dependencies
npm install
-
Run index.js
node index.js