POST
/
get-heatmap
Get Heatmap
curl --request POST \
  --url http://dolphinflashcards.com/api/get-heatmap \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "user1"
}'
{
  "16-07-2024": "2"
}

Body

application/json
userID
string
required

Identifies the user whose heatmap data is being retrieved.

Example:

"user1"

Response

OK. Returns an object that contains dates (formatted as dd/mm/yyyy) as keys and the corresponding streak counts as values.

16-07-2024
string

A key-value pair of dates (formatted as dd-mm-yyyy) and the user's streak count for that date.

Example:

"2"