https://github.com/gabeduke/level
Google Cloud Run app for querying NWS station data
https://github.com/gabeduke/level
Last synced: 6 months ago
JSON representation
Google Cloud Run app for querying NWS station data
- Host: GitHub
- URL: https://github.com/gabeduke/level
- Owner: gabeduke
- Created: 2019-09-15T04:36:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-06T13:43:35.000Z (about 1 year ago)
- Last Synced: 2025-07-06T13:45:37.799Z (about 1 year ago)
- Language: Go
- Size: 479 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README



[](https://codecov.io/gh/gabeduke/level)
# Level
Level is an API to query readings from the National Water Service. Readings can be found for most major water ways.
[](https://gitpod.io/#https://github.com/gabeduke/level)
## API Documentation
More detailed docs can be found [HERE](https://gabeduke.github.io/level/)
Endpoint | Method | Auth? | Description
----------- | ------ | ----- | -----------------------
`/healthz` | GET | No | get health
`/level` | GET | No | get level by station
`/slack` | POST | No | return a slack response
`/stations` | GET | No | get stations
## Run
Try out the API for free on Google Cloud Run:
[](https://console.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_image=gcr.io/cloudrun/button&cloudshell_git_repo=https://github.com/gabeduke/level.git)
### Docker
`make run` will serve the project in a local container
### Develop
`make dev` will run the project in Go dev mode
### Bootstrap (terraform)
```bash
git submodule update
make init
make import
make apply
```