You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gryffyn e5bc983faa
added gitea_urls
4 months ago
.gitignore updated gitignore 4 months ago
.goreleaser.yml added gitea_urls 4 months ago
LICENSE still why but with a readme 4 months ago
README.md still why but with a readme 4 months ago
go.mod why 4 months ago
main.go still why but with a readme 4 months ago

README.md

Helpful Weather Advisor

This Very Helpful application takes in a zip code and a country, and then returns a JSON response telling you what clothes to wear.

why? because.

Installing

  1. go get git.neveris.one/gryffyn/helpfulweatheradvisor
  2. question what led you to this point
  3. ???
  4. profit

Usage

Running the server

❯ helpfulweatheradvisor -h

NAME:
   helpfulweatheradvisor - A new cli application

USAGE:
   helpfulweatheradvisor [global options] command [command options] [arguments...]

VERSION:
   v0.1.0

DESCRIPTION:
   a very helpful weather advisor. tells you what to wear for any weather.

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --port value, -p value      Port to bind to, by default 8585 (default: 0)
   --location value, -l value  subdirectory to run in (including forward slash - for example '/weather')
   --help, -h                  show help (default: false)
   --version, -v               print the version (default: false)

API reference

takes the parameters country and postcode.

Example usage = https://127.0.0.1:8585/?country=US&postcode=99723

Returns a JSON response -

{
  "country": "",
  "postcode": "",
  "suggested_clothing": ""
}

License

See LICENSE file for details.