Eddington number
Running
Eddington number
Returns the Eddington number and progress toward the next target.
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/eddington \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rewind.rest/v1/running/eddington', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.rewind.rest/v1/running/eddington"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"number": 11,
"explanation": "You have run at least 11 miles on at least 11 days",
"progress": {
"target": 12,
"days_completed": 9,
"runs_needed": 3
}
}{
"error": "Not found",
"status": 404
}Returns the Eddington number and progress toward the next target.
curl --request GET \
--url https://api.rewind.rest/v1/running/eddington \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rewind.rest/v1/running/eddington', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.rewind.rest/v1/running/eddington"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"number": 11,
"explanation": "You have run at least 11 miles on at least 11 days",
"progress": {
"target": 12,
"days_completed": 9,
"runs_needed": 3
}
}{
"error": "Not found",
"status": 404
}