Google Books
Google books is a service from Google. Books are provided either by publishers and authors through the Google Books Partner Program, additionally, Google has partnered with a number of magazine publishers to digitize their archives.
The user can link his tmdb account to Recofinement.
What is used
Recofinement retrieves on each connection:
- the books with which the user has interacted (text review and/or rating)
How to enable this feature
To make these features work, you can follow this guide:
- Get a Google account: https://www.google.com/accounts/NewAccount
- Register your application (Recofinement) using the Google API Console
- Activate the Books API int the Google API Console
- Open the Credential page in the API Console
- if necessary, configure the authorisation screen (Called "Oauth Consent screen")
- On the Credential page, click on "Create credentials" - "OAuth Client ID"
- Still on Credential page, on the "ID clients OAuth 2.0" section, you may find an OAuth client (the one you created), click on the download button to download the "oauth file"
Hint
You must define the following variable in the .env file of the API.
PATH_TO_GOOGLE_OAUTH_FILE=<PATH_TO_GOOGLE_OAUTH_FILE>