Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For solutions that work on or with the Windows Phone platform
53
votes
11
answers
5k
views
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS for .Net / Silverlight / Windows Phone 7 / Mono
as easy as breathing...:
var context = new ApiContext(apiKey).Initialize(false);
Question thisPost = context.Official
.StackApps
.Que …
5
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS Fluent Configuration
var ctx = new ApiContext(ApiKey).Options
// obviates a call to stackauth
.SerializedSites("{ 'api_sites': [ {'name': 'Stack....")
// can also be accomplished …
5
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Asynchronous Requests
Async requests can be made using the Site's RouteFactory.
A salient use case for this functionality is using Soapi in Silverlight.
[TestMethod, Asynchronous]
public void AnswersB …
3
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi Caching and Throttling
Throttle
All API requests made by Soapi are routed first through Soapi.Net.RequestCache and failing a cache hit, they are then routed through Soapi.Net.RequestThrottle.
Th …
3
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS Paged Results
Pay particular attention to the third example; thats all 2800+ stack apps users in less than 5 seconds without breaking any rules. not too shabby.
// Soapi elegantly handles mul …
3
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS Full API Coverage
// instantiate a context
ApiContext ctx = new ApiContext("qgAq_KfDu0KYzlNG-qaTuw");
ctx.Initialize().AsyncWaitHandle.WaitOne();
// get a site
Site sofu = ctx.Official.Sta …
3
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Building a simple app with Soapi.CS
Suppose you would like to build a complete dataset containing all of your content and activity for all of your accounts on all Stack Exchange sites.
You would need …
3
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Bulk Data Import
This is a simple example of using Soapi.CS for bulk data importation.
This sample creates/updates a SQLite database with the the complete profile of all Stack Exchange users with repu …
3
votes
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS - Full Parameter Parity
Soapi provides full API coverage including parameters.
[Test]
public void info_param()
{
// /questions
SO.Questions
// answers (optional) When "true" …
1
vote
Accepted
SOAPI data fails on WP7
As I said in comments, you will want to direct support issues to the bitbucket site, but my initial observation is:
You need only 1 ApiContext, typically a class field, and it should be initialized i …