xmlsquad / gsheet-to-xml

Given the url of a Google Sheet, this Symfony Console command fetches the Google Sheet and outputs it in the form of Xml.
Apache License 2.0
3 stars 1 forks source link

Task: Test GSheet to Xml using O Auth key instead of Service key #15

Closed forikal-uk closed 6 years ago

forikal-uk commented 6 years ago

Goal

Task: Test GSheet to Xml using O Auth key instead of Service key

Why

I went through Google API's guide to working out which type of API Key we need and came to the conclusion that since our tools are primarily used with user interaction and target user data, the most appropriate key is O Auth.

How

Also - I think both types of key will have their uses.

I was considering allowing the project config (scapesettings) to point to both an OAuth and a Service Google API key. But, then realised that might add unnecessary complexity. In reality the user can specify a different key as a command option if they really needed to override and switch types of key used.

forikal-uk commented 6 years ago

I have been testing as I work through #26 so this is done.