Rules counting down to their effective date
curl --request GET \
--url https://api.centsless.org/api/v1/jurisdictions/countdownconst options = {method: 'GET'};
fetch('https://api.centsless.org/api/v1/jurisdictions/countdown', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/jurisdictions/countdown"
response = requests.get(url)
print(response.text){
"success": true,
"as_of": "2023-11-07T05:31:56Z",
"total": 123,
"dataset_version": "<string>",
"federal": {
"status": "<string>",
"legislation": "<string>"
},
"countdown": [
{
"lookup_key": "OK",
"jurisdiction_id": "<string>",
"jurisdiction_level": "<string>",
"legislation": "<string>",
"citation": "<string>",
"tier_id": "<string>",
"tier_name": "<string>",
"scope": "<string>",
"obligation": "<string>",
"event": "<string>",
"rounding_mode": "symmetrical_rounding",
"effective_date": "2023-12-25",
"days_until_effective": 123,
"as_of_local_date": "2023-12-25",
"time_zone": "<string>"
}
]
}Jurisdiction
Rules counting down to their effective date
Every binding rule or tier whose effective date is still ahead, with days remaining as of today in the rule’s own time zone. Obligation changes count as events.
GET
/
jurisdictions
/
countdown
Rules counting down to their effective date
curl --request GET \
--url https://api.centsless.org/api/v1/jurisdictions/countdownconst options = {method: 'GET'};
fetch('https://api.centsless.org/api/v1/jurisdictions/countdown', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/jurisdictions/countdown"
response = requests.get(url)
print(response.text){
"success": true,
"as_of": "2023-11-07T05:31:56Z",
"total": 123,
"dataset_version": "<string>",
"federal": {
"status": "<string>",
"legislation": "<string>"
},
"countdown": [
{
"lookup_key": "OK",
"jurisdiction_id": "<string>",
"jurisdiction_level": "<string>",
"legislation": "<string>",
"citation": "<string>",
"tier_id": "<string>",
"tier_name": "<string>",
"scope": "<string>",
"obligation": "<string>",
"event": "<string>",
"rounding_mode": "symmetrical_rounding",
"effective_date": "2023-12-25",
"days_until_effective": 123,
"as_of_local_date": "2023-12-25",
"time_zone": "<string>"
}
]
}
