CivicAPI Documentation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
This endpoint can be used to generate a map. It returns a PNG of a filled out electoral map.
Example URL: <code>https://computernewb.com/election/api/v1/predictions/presidential/polymarket/map</code>
 
==gas==
The <code>gas</code> endpoint returns prices for gas across the US (and maybe other countries in the future).
 
(not implemented yet; no docs)
 
==amendment==
*<code>https://computernewb.com/api/v1/amendment/us/1st</code> - Returns the First Amendment
*<code>https://computernewb.com/api/v1/amendment/us/</code> - Returns all the amendments
 
==upcoming==
The <code>upcoming</code> endpoint will return upcoming elections.
 
(not implemented yet; no docs)

Navigation menu