11

Obsolete: Coded for a decommissioned version of the API. Source code might be adaptable though.


(source: DEAD LINK: quickmediasolutions.com)

Code Snippet

#include <sopp/sopp.h>

...
sopp::SetKey("...");
sopp::SetSite(SITE_STACKOVERFLOW);
...
sopp::soUser user(1);
cout << user.GetDisplayName();
...
std::vector<sopp::soQuestion> questions;
user.GetQuestions(questions);

cout << questions[0].GetTitle();  // display title of first question
...

About

so++ is an object-oriented wrapper for the StackOverflow API. It currently uses libcurl and jsoncpp. The .zip file includes examples, though they need the API key replaced.


License

so++ is released under the MIT license.


Download

You can download so++ at http://stackoverflow.quickmediasolutions.com/ (Dead link)

Update: the code is now in my PPA, so you can get it there if you're using Ubuntu:

sudo add-apt-repository ppa:george-edison55/george-edison


Platform

so++ is available for any platform with libcurl and the STL.


Contact

I am the developer and can be reached at admin@quickmediasolutions.com


Code

The code can now be found on LaunchPad: http://launchpad.net/sopp

Brock Adams
  • 12,901
  • 5
  • 38
  • 64
Nathan Osman
  • 23,286
  • 11
  • 60
  • 107

0 Answers0