HTMX is a cool approach to making your HTML interactive. You can use one of its extensions to pull json data from TeamDesk's REST API, as shown in this gist:
Of course since you're exposing your API access token in the HTML, this isn't a solution for anything where security is a concern. It's going to be best for something which is public anyway, and, you should limit the token's user to a specific role without risky permissions. Or, perhaps proxy the API call behind some webhook service which can hide your token but return the json you need.
Thanks Kirill for pointing me in the right direction on this.
ID 1956
Category Integration/API
Author
Rick Cogley
Date Created 2/6/2023 4:12:46 AM
Date Updated 2/6/2023 5:56:20 PM
Status New Idea
Score 20
Promoted By
Andrew@mytangowood.com
Rick Cogley
Comments
basenine 2/6/2023 4:55:19 AM
Thanks Rick And Happy New Year to you and your family 😊