kevindhawkins / yqlcpp

yqlcpp is a lightweight C++ header for applications using the Yahoo Query Language (YQL).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yqlcpp

yqlcpp is a lightweight C++ API for performing Yahoo Query Language queries.

At this time it is intended to be a simple interface with minimal error checking and no concern for thread safety. Built on top of and requires libcurl.

Licensed under the MIT license.

Usage

#include "yqlcpp.hpp"

// query setup, optional parameter to specify JSON/XML defaulting to JSON
yqlcpp::yqlquery query("select * from yahoo.finance.quotes where symbol='AAPL'");

// execute the query
query.execute();

// get the response string
std::string jsonData = query.getResponse();
	
// optional save response data to file	
query.toFile("aaplquote.json");

About

yqlcpp is a lightweight C++ header for applications using the Yahoo Query Language (YQL).

License:MIT License


Languages

Language:C++ 100.0%