Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ROODAY authored Jun 9, 2020
1 parent 7c7f768 commit 80fa0b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ Depending on the value of "event", the function will check whether the email is
rsvpdNew // for QU only, whether the email rsvp'd through the new form
}
```
Requires the existence of `api_key.json` and `credentials.json` (service account credentials). Create them in the GCP Console: APIS & Services -> Credentials. Make sure the API Key has access to the Google Sheets API. Last step is granting access to the email of the service account to the Google Sheets you'd like to read from (click Share on the sheets and add the service account with Read permissions).
Requires the existence of `api_key.json` and `credentials.json` (service account credentials). Create them in the GCP Console: APIS & Services -> Credentials. Make sure the API Key has access to the Google Sheets API. Last step is granting access to the email of the service account to the Google Sheets you'd like to read from (click Share on the sheets and add the service account with Read permissions).

## Notice
This workflow is only needed because we collected data from Google Forms, which gets stored in a Google Sheet. Considering how often we had to manipulate data, get statistics, etc. it would've made more sense to just use Firebase to store the data. If that's implemented, this repo can be deprecated.

0 comments on commit 80fa0b1

Please sign in to comment.