Created
March 15, 2016 13:54
-
-
Save breyten/41a1b24caab524313925 to your computer and use it in GitHub Desktop.
Get amsterdam datapoints
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for SET in `wget -q -O - 'https://api.datapunt.amsterdam.nl/gebieden/' |jq '.[]' |sed -e 's/"//g;'`; do | |
echo $SET | |
for PART in `wget -q -O - $SET |jq '.results[] |._links.self.href' |sed -e 's/"//g;'`; do | |
echo "* $PART" | |
wget -q -x $PART | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment