https://github.com/quard/weatherclock-api
simple service to getting forecast for IoT clock project with data transformation and designed to support different forecast sources
https://github.com/quard/weatherclock-api
aws-lambda command-line-tool golang iot rest-api weather-api
Last synced: about 1 year ago
JSON representation
simple service to getting forecast for IoT clock project with data transformation and designed to support different forecast sources
- Host: GitHub
- URL: https://github.com/quard/weatherclock-api
- Owner: Quard
- Created: 2019-09-29T07:46:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-20T18:37:56.000Z (over 6 years ago)
- Last Synced: 2025-02-08T20:47:42.190Z (over 1 year ago)
- Topics: aws-lambda, command-line-tool, golang, iot, rest-api, weather-api
- Language: Go
- Size: 260 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeatherClock API
simple service to getting forecast for IoT projects with data transformation and designed to support different forecast sources
[OpenAPI 3.0 doc](third_party/redoc-static.html) ([source](api/openapi.yaml))
## Build
### AWS Lambda
`make aws-lambda-build` and upload `aws-lambda-weatherclockapi.zip` (executable file called `main`)
### RestAPI server
* `make restapi-server-build`
* deploy to your server
* run `weatherclock-api -bind :5000` to listen 500 port on all available interfaces
### Command line tool
`make cmdtool-build` and `./weatherclock-cli --help`