Dataclay — Automating Digital Production
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Register
    • Login

    Authorise URL feed with API access token via Shell Script

    Scheduled Pinned Locked Moved
    Remote URL Feeds
    2
    2
    619
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RonanDLundefined
      RonanDL
      last edited by RonanDL

      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.

      Many thanks,
      Ronan

      1 Reply Last reply Reply Quote 0
      • ariestavundefined
        ariestav
        last edited by

        Hey Ronan,

        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.

        Thanks,
        Arie

        1 Reply Last reply Reply Quote 0
        • First post
          Last post