Easily identify which is the best deal.
Best deal is calculated as - Number of points spent per INR. If the ratio is less, it means you have a better deal.
Run the index.js
script -> node index.js
Zero Dependency script.
input.json
is obtained from their public Catalogue API which is used to populate the data in the rewards page. I have a hard-coded JSON, just for simplicity purpose, you can call the official API if you wish to.
MIT License