json - Must hide one line / password in my Google Sheets script -
i've created google sheet accepts input user, based on information, goes external website , automatically populates spreadsheet.
my problem want hand on google sheet , allow others use it, contains own personal api key external website. unlikely users own api or know how/where put if do.
i want allow them use sheet, not able access or see script, or @ least api key within script. because sheet requires input, permissions must allow them edit...and therefore, see/edit script well.
part of tos of external website requires registered api key in order pull information. can let use information when use application contains key, not allowed let else know actual key is.
suggestions?
you should create google script doget method , publish web app. here can put api key , pass user input parameter.
the google sheet can call script , api key not exposed end user. web app can connect external api , return results sheet.
Comments
Post a Comment