Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://api.rewind.rest/v1/running/streaks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rewind.rest/v1/running/streaks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.rewind.rest/v1/running/streaks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"current": {
"days": 0,
"start": null,
"end": null
},
"longest": {
"days": 8,
"start": "2020-05-09",
"end": "2020-05-16"
}
}
}{
"error": "Not found",
"status": 404
}Returns current and longest running streaks.
curl --request GET \
--url https://api.rewind.rest/v1/running/streaks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rewind.rest/v1/running/streaks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.rewind.rest/v1/running/streaks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"current": {
"days": 0,
"start": null,
"end": null
},
"longest": {
"days": 8,
"start": "2020-05-09",
"end": "2020-05-16"
}
}
}{
"error": "Not found",
"status": 404
}