ottwatch
ottwatch copied to clipboard
OpenData: scan to alert about new data
https://open.ottawa.ca/search has all of the open data produced by the city.
- scan for new
- re-scan for updated (modifed_by_date)
- make announcements
- provide faster linking to documents
curl 'https://hub.arcgis.com/api/search/v1/collections/all/items?filter=((group%20IN%20(0c3a528e0feb440aafd69cb0ea6c8f08%2C%205aab3f8f68d64fbaacead835a9e3026e%2C%2090ca173ad4a24caa9f832cb5b2a52f00%2C%2016518f6b76d344deb4c0fca60606b32d)))&limit=12' \
-H 'Accept: */*' \
-H 'Accept-Language: en-CA,en;q=0.9,fr-CA;q=0.8,fr;q=0.7,en-US;q=0.6,en-GB;q=0.5' \
-H 'Connection: keep-alive' \
-H 'If-None-Match: W/"11047-pUf4O2hrnIqwWtpocnqay27xND8"' \
-H 'Origin: https://open.ottawa.ca' \
-H 'Referer: https://open.ottawa.ca/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--compressed