hackerkid / Mind-Expanding-Books

:books: Find your next book to read!
https://mindexpandingbooks.com
11.67k stars 1.11k forks source link

Make sure that the book reviews data are upto date #235

Open hackerkid opened 3 years ago

hackerkid commented 3 years ago

We show the Goodreads star count in the website. We fetch the data using the following script

Mind-Expanding-Books/utils/update_json_files.py

The script generates two json files which are then copied to app/src/data directory.

At the moment I run this script manually. But it would be cool to automate the step using GitHub actions.

The tricky thing is to make sure that you don't call the Google API(used in the script for fetching Amazon link) unnecessarily since it has a very low rate limit.

The action should only fetch the necessary data required and reuse existing data as much as it's possible.

PhilipWright96 commented 3 years ago

Cool - I'll get started on this!

d80ep08th commented 3 years ago

Doesn't look like this went anywhere. May I check it out , give it a go ? @hackerkid

sanjogbhalla16 commented 11 hours ago

If this is still open , I would love to contribute