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

Use your numbers anywhere

Your fasts, streaks and points are yours. Show them on your desktop, phone or website, put them in a spreadsheet or a calendar, or post them to Discord. Most of it needs no coding.

Step 1: get your key — Account → API access → Create API key. Copy it once; it works like a password. Put it where you see YOUR_KEY below. Links with the key in them can only read your data.

Not logged in? Log in first. Full call list: /api.

Google Sheets (updates itself)
=IMPORTDATA("https://snakediet.org/api/v1/export.csv?key=YOUR_KEY&inline=1")
Calendar

Subscribe to this address in Google, Apple or Outlook calendar (add "from URL"):

https://snakediet.org/api/v1/calendar.ics?key=YOUR_KEY
iPhone: ask Siri "How am I doing?"

Shortcuts app → new shortcut → Get contents of URL → then Speak text:

https://snakediet.org/api/v1/summary?format=text&key=YOUR_KEY
Android and desktop widgets

Any widget app that can read a web address works: KWGT, HTTP Shortcuts, Lively, Rainmeter, Übersicht, Conky. Point it at:

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

See Widgets for the exact fields.

Home Assistant
rest:
  - resource: https://snakediet.org/api/v1/widget?key=YOUR_KEY
    scan_interval: 300
    sensor:
      - name: "Fast hours"
        value_template: "{{ value_json.fast_hours }}"
        unit_of_measurement: "h"
      - name: "Snake Diet streak"
        value_template: "{{ value_json.streak }}"
Stats card for your website or forum signature

No key needed. Works only if you turned on Make my stats public in your profile settings.

<img src="https://snakediet.org/api/v1/card/YOURNAME.svg" alt="My Snake Diet stats">
Discord, Slack, Zapier, Make

The post sent from "Link a site" is JSON with both text and content, so any webhook-style address that accepts a bearer key works.

{"text":"Finished a 36 h fast 🐍","content":"Finished a 36 h fast 🐍","source":"snakediet.org",
 "url":"https://snakediet.org/profile/NAME","event":"fast.finished","username":"NAME"}