Skip to content

Format checking for waterdata api inputs #188

Description

@ehinman

Taken from #183 (comment)

Consider adding in more sophisticated type checking for waterdata api inputs. For example, someone could enter "dog" or 12345 as a monitoring location id and the service will make the call. This is inefficient when API rate limits are now imposed and we don't want users confused about why their data call returns no data.

Examples:

`check, md = waterdata.get_daily(
monitoring_location_id=5129115,
parameter_code="00060"
)

check, md = waterdata.get_daily(
monitoring_location_id="dog",
parameter_code="00060"
)`

Activity

  1. added a commit that references this issue on Apr 13, 2026
    b0aa389
  2. added 3 commits that reference this issue on May 13, 2026
    0cb2cc2
    9baf002
    c755f6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions