-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/eightseventhreethree/yelp_me
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |