Skip to content

justinbeltran/jelp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jelp

Build Status

Jelp is a Yelp v2 API Wrapper written in Java. It's mostly based on the already existing Java example on Yelp's github page.

Prereqs

Haven't put this on any central repos, so if you want to use this, you'll have to clone the code and run a "mvn install" to include this in your library.

Usage

// Replace with your Yelp OAuth credentials
String consumerKey = "YOUR_CONSUMER_KEY_GOES_HERE";
String consumerSecret = "YOUR_CONSUMER_SECRET_GOES_HERE";
String tokenKey = "YOUR_TOKEN_KEY_GOES_HERE";
String tokenSecret = "YOUR_TOKEN_SECRET_GOES_HERE";

Jelp jelp = new Jelp(consumerKey, consumerSecret, tokenKey, tokenSecret);

Results results = jelp.search("sushi", "Irvine, CA");
System.out.println("Total results: " + results.getTotal());

Business business = jelp.business("rolling-sushi-van-irvine");
System.out.println("Business name: " + business.getName());

About

Java Wrapper for Yelp API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages