Authorise URL feed with API access token via Shell Script
Hello DataClay Team,
Wondering if it’s possible to authorise access to my URL feed’s API access token via a Shell Script within the Templater UI? I hope to use a Quip spreadsheet as my datasource, but I do not have access to the server in which the application (quip) is hosted.
I am not a developer, so any pointers in the regard direction to add my Quip API access token will be greatly appreciated, if it cannot be done via ShellScripting.
You have the ability to write a shell script on the “Pre-Data” event. See event [ 2a ] in our table of events that Templater broadcasts. In that script, you can run any commands needed to retrieve an API access token. Does this help?
For remote URL data sources, Templater supports Basic Authentication at the moment. How are you expecting to use the API access token once you retrieve it? Are you wanting to send it with request Templater makes? If so, I’m not sure that’s possible out of the box even with scripting. However, you should be able to get the API token via a shell script by registering it to the “Pre-Data” event.