yelp_me

command module
v0.0.0-...-4c53019 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

README

yelp_me

CodeClimate: Maintainability

CircleCI: CircleCI

A CLI tool for finding food on Yelp using the Yelp API. Requires an API token from Yelp. Guide found here: https://www.yelp.com/developers/documentation/v3/authentication

./yelp_me --help
Usage of yelp_me:
  -d, --distance int    Distance in miles around the zip you are willing to look. NOT REQUIRED (default 10)
  -s, --search string   Keyword to search for on Yelp. REQUIRED
  -v, --verbose         Verbose mode
  -z, --zip int         Zip code to search around. REQUIRED (default 12345)

To build from source.

  1. Install Go. Guide here: https://golang.org/doc/install
  2. Install the required packages.
 go get github.com/Jeffail/gabs
 go get github.com/spf13/pflag
 go get github.com/spf13/viper
 go get gopkg.in/resty.v1
  1. go build ./yelp_me.go
  2. Configure a .go_grub.yml file either in the based directory you are running yelp_me or in you home directory ~/.go_grub.yml. See the sample file in the project.
  3. Profit.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址