Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download document records from Accela API #72

Open
jtotoole opened this issue Nov 6, 2020 · 0 comments
Open

Download document records from Accela API #72

jtotoole opened this issue Nov 6, 2020 · 0 comments
Labels

Comments

@jtotoole
Copy link
Contributor

jtotoole commented Nov 6, 2020

First, get document IDs for a record where module=PublicWorks:

Endpoint: https://apis.accela.com/v4/records/{recordId}/documents

Then, take those document ids and download the documents where they exist

Endpoint: https://apis.accela.com/v4/records/{documentId}/documents

These are image files, so they don't need to go into BigQuery; they just need to be stored in Cloud Storage for reference in case of an RTK request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant