Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
eightseventhreethree committed Aug 19, 2018
2 parents f13aaa3 + 5f6f63b commit 510fa5c
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# yelp_me
A CLI tool for finding food on Yelp using the Yelp API
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_linux:
-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
-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
````
3. ````go build ./yelp_me.go````
4. Profit.

0 comments on commit 510fa5c

Please sign in to comment.