pomdtr avatar
pomdtr
fetchValTownAPI
Script
Fetch data from the val town api Usage Create an helper val const valtownApi = (path: string, options?: RequestInit) => @pomdtr.fetchValTownAPI( @me.secrets.apiToken, path, options, ); Then use it in any of your val @me.valtownApi("/alias/pomdtr")
1
1
Next
Updated: October 23, 2023