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 |
Use this tag to POST, or announce, libraries which provide access to the Stack Exchange API and/or Stack exchange sites. The body of the question will give usage examples, as well as source and licensing details. For *general* questions use the [libraries] tag instead. For questions about a specific library, post an "answer" to that library's "question" announcement.
53
votes
11
answers
5k
views
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Output
Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
21 Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Revision code poet
Revision … Contact
This library is currently the effort of me, Sky Sanders (code poet) and can be reached at gmail - sky.sanders
Any who are interested in improving this library are welcome. …
25
votes
15
answers
3k
views
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
OBSOLETE
This library uses the old API, and the soapi.info domain doesn't work anymore. There's still an archive on CodePlex. … Soapi.JS is not deprecated nor is it obsoleted by Soapi.JS2, each library has it's strengths and intended audience.
As easy as... …
3
votes
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
Enums
As described in the Enumerated Constants post, soapi.js define enums that can help you write stronger code against the Soapi.JS library. … Convenience Constructors
When becoming acquainted with a new library, it is sometimes helpful to have code completion assistance and intellisense documentation for the objects returned from API calls. …
1
vote
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
Enumerated Constants, or enums, in Soapi.js
The advantages of using enums include the elimination of magic strings scattered about your codebase and the ability to update all references to an enum val …
1
vote
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
Routes: what are they and how to use them
Soapi.js defines Route 'classes' for each and every route, or URL, in the Stack Overflow API.
A Route is primarily a 'class' off of which to hang the URL p …
6
votes
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
Usage Example: Stack Exchange Site Monitor
JavaScript Site Monitor in 20 lines of code or less....
Demonstrates the use of Soapi.js to query stackauth.com to get an up-to-date list of Stack Exchange s …
13
votes
12
answers
1k
views
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Soapi.JS is a very lightweight library that provides full API coverage.
Soapi.JS2 takes it to version 11 with a complete paradigm shift. … Most sample code I provide will leverage this amazing little library. …
1
vote
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Throttling and Caching
In order to provide maximum data throughput and at the same time protect your application from, and obviate coding for, server errors due to throttle rate violations and/or poll …
2
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Sample Code: SiteMonitor
SiteMonitor is an example of using Soapi.JS2 to retrieve and display status and statistics for all of the sites in the Stack Exchange network.
SiteMonitor.htm can be found in …
1
vote
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
text-align: left;
font-size: 10px;
}
.right td {
text-align: right;
}
</style>
<script type="text/javascript">
// Soapi JavaScript Library …
2
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Stubs
Many of the json results coming from the api contain either 'stub' objects, typically user objects, or just an object reference id.
e.g.
{
"total": 879225,
"page": 1,
"pagesize": 30,
"que …
2
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
invoke();
site.Questions().ById([1, 2]).invoke();
site.Questions().ById("1;2").invoke();
The same principal applies to any API parameter that calls for a list of string.
site.Questions().tagged(["app", "library … "]).invoke();
site.Questions().tagged(["app;library"]).invoke();
Content Parameters
The boolean content flags are prefixed with 'with' to avoid collisions
site
.Questions()
.withAnswers(true)
.withBody …
1
vote
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Async usage pattern
All query methods use the following typical async pattern
//
site.Badges().invoke(function onSuccess(items, userContext, methodName) {
// handle items array of domain objec …
3
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Relational Queries
When JSON results are received from the API, they are used to build domain objects from the Soapi.Domain namespace.
Upon these objects are strategically placed queries, the same q …
3
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Api Coverage
Every path in the API has a reciprocal query rooted on the Soapi.Domain.Site object.
The query syntax has been constructed to be as intuitive as possible.
A complete map of Soapi.JS2 q …