Skip to content
Open Knowledge Belgium - Elections API
PHP
Branch: master
Clone or download
dependabot-preview and jbelien Bump squizlabs/php_codesniffer from 3.5.3 to 3.5.4 (#34)
* Bump squizlabs/php_codesniffer from 3.5.3 to 3.5.4

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](squizlabs/PHP_CodeSniffer@3.5.3...3.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Apply fixes from StyleCI

Co-authored-by: Jonathan Beliën <jbelien@users.noreply.github.com>
Latest commit fa72d81 Feb 2, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Apply fixes from StyleCI Jun 8, 2019
config Bump filp/whoops from 2.7.0 to 2.7.1 (#36) Feb 2, 2020
data
docs GitBook: [master] 7 pages modified May 30, 2019
public Apply fixes from StyleCI May 26, 2019
src/App Bump filp/whoops from 2.7.0 to 2.7.1 (#36) Feb 2, 2020
test/AppTest/Handler Initial commit May 25, 2019
.gitbook.yaml Create .gitbook.yaml May 27, 2019
.gitignore Initial commit May 25, 2019
.styleci.yml Update .styleci.yml Jun 8, 2019
LICENSE Create LICENSE May 25, 2019
README.md Update README.md May 27, 2019
composer.json
composer.lock Bump squizlabs/php_codesniffer from 3.5.3 to 3.5.4 (#34) Feb 2, 2020
phpcs.xml.dist Initial commit May 25, 2019
phpunit.xml.dist Initial commit May 25, 2019

README.md

Open Knowledge Belgium - Elections API

🚧 Work in progress 🚧

Documentation

📝 Have a look at https://docs.elections.openknowledge.be/ !


Results data (Format R)

Not yet documented on https://docs.elections.openknowledge.be/

GET /format-r/evolution/{year:[0-9]{4}}/{type:\w+} will give you the evolution of the results.

Example: https://api.elections.openknowledge.be/format-r/evolution/2019/CK

GET /format-r/results/{year:[0-9]{4}}/{type:\w+} will give you the results.

Example: https://api.elections.openknowledge.be/format-r/results/2019/CK

GET /format-r/results/{year:[0-9]{4}}/{type:\w+}/{level:\w+} will give you the detailed results.

Example: https://api.elections.openknowledge.be/format-r/results/2019/CK/C

GET /format-r/status/{year:[0-9]{4}}/{type:\w+}/{level:\w+} will give you the status the count.

Example: https://api.elections.openknowledge.be/format-r/status/2019/CK/C

GET /format-r/seats/{year:[0-9]{4}}/{type:\w+} will give you the number of seats.

Example: https://api.elections.openknowledge.be/format-r/seats/2019/CK

GET /format-r/hit/{year:[0-9]{4}}/{type:\w+}/{level:\w+} will give you the hit-parade.

Example: https://api.elections.openknowledge.be/format-r/hit/2019/CK/R

You can’t perform that action at this time.