This APi is intended to make data collected by the Work Zone Data Collection Tool more easily accessible. This APi supports listing/querying and downloading of individual files for RSM {xml}, RSM {upper}, and WZDx {geojson} messages. To acquire an API key, contact [email protected]. The data accessed by this API is also vailable for download from the WZDC tool website, https://neaeraconsulting.com/V2X_Published.
https://wzdc-rest-api.azurewebsites.net
$response = Invoke-WebRequest 'https://wzdc-rest-api.azurewebsites.net/wzdx/' -Headers @{"auth_key"="*api_key*"}; $response.Content
https://wzdc-rest-api.azurewebsites.net/rsm/uper/?center=40.061336,-105.212715&distance=10y
https://wzdc-rest-api.azurewebsites.net/rsm/uper/?county=Larimer County
https://wzdc-rest-api.azurewebsites.net/rsm/uper/?state=CO
https://wzdc-rest-api.azurewebsites.net/rsm/uper/?state=Colorado
https://wzdc-rest-api.azurewebsites.net/rsm/uper/?zipcode=80528
https://wzdc-rest-api.azurewebsites.net/rsm/uper/main-demo--i-25
pipn install -r requirements.txt
$env:auth_contact_email = "*contact_email*"; $env:storage_connection_string = "*azure-storage-connnection-string*"; $env:sql_connection_string = "*sql-server-connnection-string*"; $env:stored_procedure_find_key = "exec find_key @key = '{0}'"; $env:source_container_name = "*storage-container-name*;"
python -m uvicorn main:app --reload
$response = Invoke-WebRequest 'http://127.0.0.1:8000/rsm/xml/?center=40.061336,-105.212715&distance=10' -Headers @{"auth_key"="*api_key*"}; $response.Content