Community
Challenges Feed Leaderboard Forum Members Articles Results Map Levels & points Start here guide About this site Home snakediet.com ↗
Join free Log in

Widgets

Show your fast, streak and points on your desktop or phone. All widgets read one address with your personal key (make one here; a read-only key is enough):

https://snakediet.org/api/v1/widget?key=YOUR_KEY

Ready-made files are below. Any other app that can read a web address works too.

Downloads
Widget preview

Paste your key (starts with sd_) where the file says PASTE_YOUR_API_KEY_HERE. These files also work with a MyFitLevel key.

Where to put it
What the address returns
{"ok":true,"name":"Emil","username":"Emil","level":24,"xp":11368,"level_xp":478,"level_need":677,"level_pct":71,
 "streak":5,"week_points":685,"today_label":"Fasting 14.2 h",
 "fasting_now":true,"fast_hours":14.2,"longest_fast_hours":62.5}

xp = your KTN points, level_pct = progress to the next level, week_points = KTN from fasts since Monday. Refresh no more often than every minute or two.