Tuesday, April 06, 2010

yelpcurl - C++ Yelp API library

yelpcurl is an open-source, pure C++ wrapper for Yelp's RESTful APIs. The library currently supports all the APIs provided by Yelp. yelpcurl uses cURL and is written in a similar way as that of twitcurl. Building applications using yelpcurl is quite easy:
  • Compile yelpcurl source files (yelpcurl.h and yelpcurl.cpp) and link with cURL library (libcurl.lib) to build static library yelpcurl.lib.
  • Include yelpcurl.h and cURL headers (present in /include/curl/ directory in cURL source) in your Yelp based application and link to yelpcurl.lib and also libcurl.lib/libcurl.dll.
  • Instantiate an object of yelpCurl class and use the Yelp API wrappers that are exposed as public methods.
yelpcurl works on all OS (Windows, Linux, Mac etc.) as it is written completely in C++ and the only dependency is cURL (which works on all OSes mentioned earlier).

More info about the yelpcurl library can be found here: