javascript - Can I associate a user's account with an action to the drive API? -


we're looking make little webapp manage our week-long nerf war (humans vs zombies precise), , we're thinking how easy have google sheets our backend, , our frontend entirely javascript/html/css.

let's there's 2 actions can done in javascript:

  1. register, adds row sheet.
  2. report tag, adds row sheet.

let's have 100 players. we'll have each player sign in using google account. there way either of above actions, can have sheets know made action?

this way, if gets hold of api key , spoofs referer make bad requests, can know google account did , ban them game.

for example, if open sheet , "see revision history", want not see 1 user revisions, want see user triggered action.

is reasonable approach, , possible? thanks!

(note: know these 2 actions can done via google forms, can associate user's account, imagine have more complex actions cant achieved google form)

the short answer no. you'll using spreadsheets api (not drive api) update sheet.as far google concerned, "user" application, regardless of human driving application @ time. application knows human is, , responsible logging audit info use case may require.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -