Tag Info

Hot answers tagged

11

Not only does Stacky claim to support Windows Phone 7, it actually does! :) And I am building a WP7 client using it. Here are some early** screen shots: ** Note that this is very early and none of the UI is final.


10

Just wanted to let everybody know that I just made a new release of the library here. This release includes tons of bug fixes as well as some breaking changes which shouldn't be a problem if you have been running off the trunk. Also, by popular demand, I added a .Net 3.5 version of the library to this release. The hope here is to eventually have a mono ...


7

Update: Meanwhile Luke jumped in regarding his upcoming Windows Phone 7 client, so in addition to the options outlined below you might watch his activities to eventually be amongst the first to try it :) I'm not aware of an existing one for either platform yet. If nobody jumps in regarding the in development question, you seem to have the following ...


3

I'm pretty slow to the battle... but I love just StackOverflow so i'm working on my own quick & dirty client. Just to show my profile details and maybe some of the latest questions... Just for me to read when i'm on the road... I'm no Jon Skeet or anything. Warning, no design work has been done WHATSOEVER! I'm hosting the source of my personal TFS ...


3

With the way the API is currently set up (lots of caching the info page says) is it possible to update the information on a question you've already looked at? I have a list of questions but, as time goes on, the information changes (# of answers, votes, etc) and I would like to be able to update the questions with the new info.


3

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 AnswersByIdTestValid() { // The thing to be aware of is that the IEnumerable, lazyloading // model is synchronous, and since we are on the UI thread here ...


3

Soapi.CS Fluent Configuration var ctx = new ApiContext(ApiKey).Options // obviates a call to stackauth .SerializedSites("{ 'api_sites': [ {'name': 'Stack....") // can also be accomplished by seeding the cache .SeedCache(new RequestCacheItem { Uri = new Uri("http://stackauth.com/1.0/sites"), ResponseText = "{ ...


2

MakerOfThings7: Why is SOAPICS GPL? That really limits it's usage. Can you change it to LGPL? http://soapics.codeplex.com/license My application is proprietary, and the GPL license requires that I distribute source of my app if I simply link to this library. That's a no-go for me. code poet: There are many reasons that this, and other libraries, are ...


2

Soapi.CS - Full Parameter Parity Soapi provides full API coverage including parameters. [Test] public void info_param() { // /questions SO.Questions // answers (optional) When "true", the answers to a question will be returned .WithAnswers(true) // body (optional) When "true", a post's body will be included in the ...


2

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 reputation >= 100 and assigns a rank according to order of appearance. Soapi processes the ~1000 requests required in less than 5 minutes. You may run this ...


2

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 to: Get a list of your accounts from stackauth /users/{id}/associated For each account Get all of your questions Get all of your answers Get all of your ...


2

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.StackOverflow; // or Site stackapps = ctx.Sites.First(s=>s.ApiEndpoint == "http://api.stackapps.com"); --- // StackAuth Routes // /sites ...


2

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. The throttle, which is described in detail here, works on a sliding window, allowing maximum request rate up to the prescribed limits, currently 30 per 5 ...


2

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 multi-page requests. // Multi-paged requests are issued in parallel making data retrieval quick // get the default, 1 page of 30 using default sort var ...


1

In the StackyClient.GetQuestions function, for the tags parameter, will you get questions with any of the tags in the array, or questions that have all of the tags in the array? Also I don't see really any documentation except for the page with a few examples, which don't explain what exactly the parameters do and stuff. If anyone could link me to a ...


1

Thanks for this super library! I've used it for my Overflow 7 app. (See also the Overflow 7 video.) I've put a few detailed comments on your Stacky codeplex discussion site. I hope they help. Thanks again, Stuart


1

UPDATE: App now on Marketplace - see Overflow7 - Stack Exchange sites on Windows Phone 7 Love the look of these apps - Stack Overflow and the Metro UI are a great combination. Using the excellent Stacky library as a start, here's my latest app - "overflow 7". There's still more to do - and there always will be - but you can see the app in action at: ...


1

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 in the Loaded event of your page. From that point, simply use the same ApiContext for all of your calls. Also, Query methods are synchronous and must be called ...



Only top voted, non community-wiki answers of a minimum length are eligible