CivicAPI Documentation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
==election==
The <code>election</code> endpoint will give you access to election information, both historic and current.
 
 
===/v1/election/{country}/{election}/getyears===
This endpoint can be used to get a list of valid election years.
 
Example URL: <code>https://computernewb.com/election/api/v1/election/kp/parliament/getyears</code>
 
===/v1/election/{country}/{election}/{year}===

Navigation menu