Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 483 Bytes

File metadata and controls

20 lines (16 loc) · 483 Bytes

Weather REST client

Simple REST client for the weather API.

See readme of the SAM stack for details regarding:

  • the REST URL
  • the API key
  • the creation of the client certificates

Usage:

go run . \
    -url https://rest.weather-api-demo.poc.svend.xyz/weather  \
    -deviceId <device-id> \
    -timeDelta <some-duration-in-minutes> \
    -apiKey <api-key> \
	-certFile certificates/clientCert.pem \
	-keyFile certificates/clientKey.pem