You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
John Wieczorek edited this page Aug 25, 2015
·
5 revisions
The VertNet API download function supports downloading records as a tab-delimited text file by supplying a query string, filename, and an email address. Download jobs are queued up and an email is sent when the results are ready for download. Emails include a URL for downloading the results from Google Cloud Storage.
The base URL for API download requests is http://api.vertnet-portal.appspot.com/api/download?q=query_object, where query_object is a JSON object specifying the request parameters. Request objects must include the following required properties:
q: the query string
n: the name to use for the results file
e: the email address to contact when the results are ready for download
Note that the format of the query string for download requests is exactly the same as for calls to the API search function. Query strings for these two functions are therefore completely interchangeable. The documentation for the search function includes a detailed discussion of how to construct query strings.