HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-cli

Update USGS Instant Values endpoint.

Open
#142 1 comment 0 reactions 1 assignee View on GitHub

@Enovotny is already working on this.

Since Apr 20, 2026.

  • #205 by @Enovotny — open
Dominant language
Python
Stars
2
Forks
4
Avg merge
19h 59m
Merged PRs (30d)
3

Description

Longer term USGS will support URLS that start with api.*

ref:
https://waterdata.usgs.gov/blog/api-waterservices-decom/

The following URL may break in the next year or two:

base_url = "https://waterservices.usgs.gov/nwis/iv/?"

ref:
https://github.com/HydrologicEngineeringCenter/cwms-cli/blob/main/cwmscli/usgs/getusgs_cda.py#L193C2-L193C58

replacement:
https://api.waterdata.usgs.gov/ogcapi/v0/collections/continuous

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.