Opendata » History » Version 3
sacha, 06/20/2018 05:04 PM
1 | 1 | sacha | h1. Opendata sur data.gouv.fr |
---|---|---|---|
2 | |||
3 | 3 | sacha | export API="https://www.data.gouv.fr/api/1" |
4 | |||
5 | 1 | sacha | h2. Avoir la liste des sources de données |
6 | |||
7 | 2 | sacha | h3. Le nom |
8 | 1 | sacha | |
9 | 3 | sacha | wget "-qO-" $API/organizations/?page_size=10000 |jq '.data[].name'|nl |
10 | 2 | sacha | |
11 | 1 | sacha | h3. L'url |
12 | 2 | sacha | |
13 | 3 | sacha | wget "-qO-" $API/'organizations/?page_size=10000' | jq '.data[].uri'|nl |