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 |
Question relating to the (now obsolete) Soapi.JS family of libraries.
7
votes
1
answer
279
views
Stack Users Lite: Search for users on all Stack Exchange sites and view their associated acc...
Stack Users Lite was written using only SOAPI.JS, an intuitive JavaScript wrapper library for the Stack Overflow API.
No jQuery scripts were harmed in the making of Stack Users Lite. … The complete source code can be found in the SOAPI.JS download.
Platform
Stack Users Lite has been tested on all modern major browsers. Reports of platform related issues are welcome. …
3
votes
Stack Users Lite: Search for users on all Stack Exchange sites and view their associated acc...
This is because the stackauth methods are static and unlike the other routes in Soapi.js, the target is hardcoded. …
3
votes
0
answers
110
views
Exterminators - Bugs and Features, Present and Past and those who brought them to light.
Exterminators can be found HERE
Platform
Most any JavaScript enabled browser
Contact
Exterminators was created by code poet (sky.sanders at gmail)
Code
Exterminators was written in JavaScript using only Soapi.js …
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 …
1
vote
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Basic Usage Example 01
var ctx = new Soapi.ApiContext(apiKey);
ctx.initialize(function() { // ctx.initialize loads sites from stackauth
var site = ctx.find("api.stackapps.com"); // site is Soap …
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...
Revisions().ByRevisionGuid("e452e755-a3fe-45d0-976f-e319ec460200").invoke(/*handlers here*/);
http://api.stackapps.com/1.0/revisions/386/e452e755-a3fe-45d0-976f-e319ec460200
/search
site.Search().intitle("soapi.js … intitle=soapi.js
/stats
site.Stats().invoke(/*handlers here*/);
http://api.stackapps.com/1.0/stats
/tags
site.Tags().invoke(/*handlers here*/);
http://api.stackapps.com/1.0/tags
/users
site.Users …
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 …
2
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Parameterization And Paging
Overview:
Soapi.JS2 facilitates query parameterization using 'fluent' or 'chained' setter methods and maintains full parity with the documention found on the API help pages …
3
votes
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
ApiContext
Query based Soapi.JS2 usage is rooted on the ApiContext object. This object maintains the list of Site that are available for query and provides central services.
You gotta have one and i …
13
votes
12
answers
1k
views
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
context.official.stackApps
.Users().ById(14)
.invoke(function(users) {
alert(users[0].display_name);
});
});
About
Soapi.JS2 is being released separately from Soapi.JS … Soapi.JS is a very lightweight library that provides full API coverage.
Soapi.JS2 takes it to version 11 with a complete paradigm shift. …
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 …
1
vote
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta pr...
Sample Code: RepReport
RepReport is an example of using Soapi.JS2 to provide a custom view on your reputation data.
You can find RepReport.htm in the source download.
<!DOCTYPE html PUBLIC "-//W3C//D …
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
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="scripts/Soapi.js …