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
wip_sk_FOOBAR
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_FOOBARresponse["streak"]Replace
wip_sk_FOOBARwith an API key from wip.co/my/api_keys