Matt Spear
@mspear
I've done this β but I used the graphQL api that is being deprecated and I'll need to replace it.
I love having widgets, mine just revalidates on a daily basis (when someone load the site):
https://api.wip.co/v1/users/me.json?api_key=wip_sk_FOOBAR
response["streak"]
Replace wip_sk_FOOBAR with an API key from wip.co/my/api_keys
You'll also want to keep an eye on the Vercel functions Max duration which on the Hobby plan is 10s and even if you upgrade I think you'll need to specify if you want longer:
vercel.com/docs/functions/runβ¦
I ran into this a ton when running longer AI tasks / calling out to external serviced and had to create a webhook system π
I'm loving Tally right now!