Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hackerkid opened this issue Oct 10, 2020 · 2 comments
Open

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

hackerkid opened this issue Oct 10, 2020 · 2 comments

Comments

@hackerkid
Copy link
Owner

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
Copy link
Contributor

Cool - I'll get started on this!

@d80ep08th
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants