Created
July 21, 2020 06:40
-
-
Save andrewharvey/e7f6a0f0e48af046d82e109a4b96506b to your computer and use it in GitHub Desktop.
ArcGIS Rest Services Listing as FeedJSON
This file contains hidden or 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/sh | |
wget -O - 'http://data.actmapi.act.gov.au/arcgis/rest/services/actmapi/?f=pjson' | jq '{"version": "https://jsonfeed.org/version/1", "title": "data.actmapi services", "home_page_url": "http://data.actmapi.act.gov.au/arcgis/rest/services/actmapi/?f=pjson", "items": [.services[].name | {"id": ., "content_text": .}]}' > feed.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment