Stacky - A .NET Client Library
The same great library now supports the 2.0 API!
https://bitbucket.org/lfoust/stacky
Sample Code
IUrlClient urlClient = new UrlClient();
IProtocol protocol = new JsonProtocol();
var client = new StackyClient(version, apiKey, Sites.StackOverflow, urlClient, protocol);
var questions = client.GetQuestions();
foreach (var question in questions)
{
Console.WriteLine(question.Title);
}
Silverlight and Windows Phone
IUrlClient urlClient = new UrlClient();
IProtocol protocol = new JsonProtocol();
var client = new StackyClient(version, apiKey, Sites.StackOverflow, urlClient, protocol);
client.GetQuestions(questions =>
{
foreach (var question in questions)
{
Console.WriteLine(question.Title);
}
});
You can view more detailed documentation in Getting Started.
About
Stacky is a .NET client library for the Stack Apps API. It is a simple library and to supports a variety of platforms such as Silverlight and Windows Phone 7, .NET 4 and .NET 3.5.
License
MSPL
Download
Source
https://bitbucket.org/lfoust/stacky
Platform
.NET (Windows, Windows Phone 7). Not tested on Mono.
Contact
Luke Foust - Feel free to contact through CodePlex site
Code
.NET 4, .NET 3.5, C#, Silverlight 4, Windows Phone 7
/user/badges
route)? See this SO question: stackoverflow.com/questions/5091513/…sites.cs
. Can I suggest that you either use the bitbucket or the codeplex as it's quite confusing which is the most up to date.