Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (17 loc) · 653 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 653 Bytes

Extracts data from the religion of peace html pages and serves them as json

Building

Install stack from Stackage

stack build --no-system-ghc --install-ghc

Using

Run stack exec thereligionofpeace resources/*.html and go to this page to try it out.

API

/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