Skip to content

WDFN 831 - Add API call to Flask web server to retrieve a monitoring location pages site summary information from WQP

Bucknell, Mary S. requested to merge mbucknell/waterdataui:wdfn-831 into main

Before making a pull request

  • Put the appropriate EXEMPT flag if needed in the MR label (see https://practices.wma.chs.usgs.gov/practice/peer_code_review/)
  • Run all linters (make lint)
  • Run all tests (make test)
  • Update the changelog appropriately
  • If making a release, update code.json metadataLastUpdated and bump CHANGELOG.md to next version.

Description

Added a new view and endpoint to implement an API call which uses requests and pandas to retrieve the discrete data summary from WQP, summarizes it appropriately and delivers it as a JSON object.

After making a pull request

  • If appropriate, put the link to the PR in the JIRA ticket
  • Assign someone to review unless the change is trivial
  • Check the accessibility CI step and fix or explain any issues.

Merge request reports

Loading