Extracts data from the religion of peace html pages and serves them as json
Install stack
from Stackage
stack build --no-system-ghc --install-ghc
Run stack exec thereligionofpeace resources/*.html
and go to this page to try it out.
/cities
- list of cities
/cities/:city
- list of attacks in the city
/countries
- list of countries
/countries/:country
- list of attacks for the country
/countries/:country/:city
- narrow search to a particular city within a
country
Pagination example: page=3&limit=25