Client-Cli and go package for howmuchisthe.fish [github]
The latest version can be downloaded from releases
Alternatively you can install the binary with go install.
$ go install github.com/fxkk/goscooter@latest
package main
import "github.com/fxkk/goscooter/pgk/scooter"
func main() {
// get Random Quote
quote, _ := scooter.Random()
fmt.println(quote)
// get full response struct
response, _ := scooter.RandomFull()
fmt.Printf("%+v\n", response)
}
$ ./goscooter -h
A CLI based on the https://howmuchisthe.fish API
Usage:
goscooter [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
daily Daily Scooter Quote
help Help about any command
quote Get Quote by id
random Random Scooter Quote
Flags:
-f, --full full response
-h, --help help for scooter
-v, --verbose verbose output
Use "goscooter [command] --help" for more information about a command.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.