问题
Is there a Socrata API for reading a site's catalog of datasets?
For example, for Boston, is there an API equivalent of this page?
回答1:
Try this
https://data.cityofboston.gov/data.json
That should have every dataset in JSON format.
回答2:
There is also a (beta) API available for catalog reading/searching, which may be easier to filter/parse than the data.json file (but either would work!). You can find information about this here: http://labs.socrata.com/docs/search.html.
来源:https://stackoverflow.com/questions/29783413/is-there-a-socrata-api-for-reading-a-sites-catalog