Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

Soapi.JS2 is being released separately from Soapi.JSSoapi.JS as it is a completely different take on accessing the API via JavaScript.

Soapi.JSSoapi.JS is a very lightweight library that provides full API coverage.

Soapi.JS2 takes it to version 11 with a complete paradigm shift. It is a bit heavier and revolves around a fluent, relational query approach similar to that of the Soapi.CSSoapi.CS library, providing a seamless view on the data served by the API.

  • Minor code improvements
  • Added JS2+CS UserIndexer and UserFinder demo to Soapi.CSSoapi.CS samples (the Soapi.JS2 source lives with Soapi.CSSoapi.CS)
  • Added Soapi2.Contrib.js to support samples
  • StackCenterStackCenter - Your One Stop for Everything Stack Exchange
  • insert your app here (or leave a comment and I will do it)

Soapi.JS2 is being released separately from Soapi.JS as it is a completely different take on accessing the API via JavaScript.

Soapi.JS is a very lightweight library that provides full API coverage.

Soapi.JS2 takes it to version 11 with a complete paradigm shift. It is a bit heavier and revolves around a fluent, relational query approach similar to that of the Soapi.CS library, providing a seamless view on the data served by the API.

  • Minor code improvements
  • Added JS2+CS UserIndexer and UserFinder demo to Soapi.CS samples (the Soapi.JS2 source lives with Soapi.CS)
  • Added Soapi2.Contrib.js to support samples
  • StackCenter - Your One Stop for Everything Stack Exchange
  • insert your app here (or leave a comment and I will do it)

Soapi.JS2 is being released separately from Soapi.JS as it is a completely different take on accessing the API via JavaScript.

Soapi.JS is a very lightweight library that provides full API coverage.

Soapi.JS2 takes it to version 11 with a complete paradigm shift. It is a bit heavier and revolves around a fluent, relational query approach similar to that of the Soapi.CS library, providing a seamless view on the data served by the API.

  • Minor code improvements
  • Added JS2+CS UserIndexer and UserFinder demo to Soapi.CS samples (the Soapi.JS2 source lives with Soapi.CS)
  • Added Soapi2.Contrib.js to support samples
  • StackCenter - Your One Stop for Everything Stack Exchange
  • insert your app here (or leave a comment and I will do it)
Copy edited. Interpreted "jsob" as meaning "JSON" (is compatible with a true typo).
Source Link

Soapi.JS2  : a fully relational JavaScript client library for the Stack Exchange API - beta preview

    var context = new Soapi.ApiContext(yourApiKey);
 
    context.initialize(function() {
         
        context.official.stackApps
        .Users().ById(14)
        .invoke(function(users) {
 
            alert(users[0].display_name);
        });
    });

Soapi.JS2 takes it to version 11 with a complete paradigm shift. It is a bit heavier and revolves around a fluent, relational query approach similar to that of the Soapi.CS library, providing a seamless view on the data served by the API.

The documentation is available in the download or can be viewed online here: http://soapi.info/Code/JS2/latest/docs/index.htm ( docdocumentation data is 5mb5 MB so you may wish to access the help file from the download).

A Betabeta version available at http://soapi.info/Downloads/Soapi.JS2-beta-09-17-2010.zip.

  • JavaScript implementation differences break the throttle on webkit browsers on linux/osxLinux and Mac OS X
  • minor code and documentation improvements
  • added sync initialize with jsobJSON
  • implemented live samples in docsdocumentation (Soapi.JS2.docs.htm) - just a key handful so far, but it is pretty helpful to see a code snippet that you can run right there in the docsdocumentation. Now that the major code churn is over, I will be sprinkling relevant live samples througoutthroughout the docsdocumentation.
  • minorMinor code improvements
  • addedAdded JS2+CS UserIndexer and UserFinder demo to Soapi.CS samples (the Soapi.JS2 source lives with Soapi.CS)
  • addedAdded Soapi2.Contrib.js to support samples
  • implementedImplemented minification to build process. soapi2.js is minified, soapi2.debug.js is commented and also acts as VS intellisensea Visual Studio IntelliSense source. No need to reference it, just let it sit in the same dirdirectory as the references Soapi2.js.

     
  • theThe minified size is still around 75k75 KB. Sorry, sorrythere is not much I can do as it is mostly public function and type names. IfIf your server supports serving content gzipped it comes down to about 15k15 KB which is not too bad.

  • replacedReplaced Soapi.enableLogging and Soapi.disableLogging with Soapi.set_logCallback to reduce coupling and enable programmatic processing of Soapi events. See Soapi.log in the docsdocumentation for more infoinformation.
  • removedRemoved linq.js integration. The convenience was outweighed by the limitations imposed. It was a bad design decision in the first place. Simply create Enumerable when you need it by Enumerable.From(item)
  • implementedImplemented Soapi.Interop (JS2->CS upload) expect dedicated post shortly.
  • completedCompleted Soapi apiAPI documentation - started adding content
  • addedAdded SyntaxHighlighter functionality to docsthe documentation
  • added apiAdded API compatible custom JSON implementation
  • completed preliminary documentation (/docs/index.htm/docs/index.htm)
  • adjusted default throttle to 30 per 6.5 as per current apiAPI tolerance
  • Windows - all current major browsers tested
  • Linux - FFFirefox and Chrome test good. Opera has issues.
  • OSX - FFFirefox, Chrome and Safari test good. Opera has issues.

Apparently Opera on OSXMac OS X and Linux burns oil. The library performs as expected but the internal throttle does not so caveat emptor until notified otherwise.

Included in the alpha zipZIP file is a full coverage test suite and a rather detailed walkthrough.

  • Basic Usage Example 01 - demonstrates how to retrieve related data from the apiAPI using Soapi.JS2
  • RepReport - an example of using Soapi.JS2 to provide a custom view on your reputation points data.
  • SiteMonitor - an example of using Soapi.JS2 to retrieve and display status and statistics for all of the sites in the Stack Exchange network.
  • StackCenter - Your One Stop for Everything StackExchangeStack Exchange
  • insert your app here (or leave a comment and I will do it)

So, if you would like to upvote the documentation, please do so in moderation, perhaps no more 3three or 4four votes per day?

Soapi.JS2  : a fully relational JavaScript client library for the Stack Exchange API - beta preview

   var context = new Soapi.ApiContext(yourApiKey);
 
    context.initialize(function() {
         
        context.official.stackApps
        .Users().ById(14)
        .invoke(function(users) {
 
            alert(users[0].display_name);
        });
    });

Soapi.JS2 takes it to 11 with a complete paradigm shift. It is a bit heavier and revolves around a fluent, relational query approach similar to that of the Soapi.CS library, providing a seamless view on the data served by the API.

The documentation is available in the download or can be viewed online here: http://soapi.info/Code/JS2/latest/docs/index.htm ( doc data is 5mb so you may wish to access the help file from the download)

Beta version available at http://soapi.info/Downloads/Soapi.JS2-beta-09-17-2010.zip

  • JavaScript implementation differences break the throttle on webkit browsers on linux/osx
  • minor code and documentation improvements
  • added sync initialize with jsob
  • implemented live samples in docs (Soapi.JS2.docs.htm) - just a key handful so far, but pretty helpful to see a code snippet that you can run right there in the docs. Now that the major code churn is over I will be sprinkling relevant live samples througout the docs.
  • minor code improvements
  • added JS2+CS UserIndexer and UserFinder demo to Soapi.CS samples (the Soapi.JS2 source lives with Soapi.CS)
  • added Soapi2.Contrib.js to support samples
  • implemented minification to build process. soapi2.js is minified, soapi2.debug.js is commented and also acts as VS intellisense source. No need to reference it, just let it sit in the same dir as the references Soapi2.js.

    the minified size is still around 75k, sorry not much I can do it is mostly public function and type names. If your server supports serving content gzipped it comes down to about 15k which is not too bad.

  • replaced Soapi.enableLogging and Soapi.disableLogging with Soapi.set_logCallback to reduce coupling and enable programmatic processing of Soapi events. See Soapi.log in the docs for more info.
  • removed linq.js integration. The convenience was outweighed by the limitations imposed. It was a bad design decision in the first place. Simply create Enumerable when you need it by Enumerable.From(item)
  • implemented Soapi.Interop (JS2->CS upload) expect dedicated post shortly.
  • completed Soapi api documentation - started adding content
  • added SyntaxHighlighter functionality to docs
  • added api compatible custom JSON implementation
  • completed preliminary documentation (/docs/index.htm)
  • adjusted default throttle to 30 per 6.5 as per current api tolerance
  • Windows - all current major browsers tested
  • Linux - FF and Chrome test good. Opera has issues.
  • OSX - FF, Chrome and Safari test good. Opera has issues.

Apparently Opera on OSX and Linux burns oil. The library performs as expected but the internal throttle does not so caveat emptor until notified otherwise.

Included in the alpha zip is a full coverage test suite and a rather detailed walkthrough.

  • Basic Usage Example 01 - demonstrates how to retrieve related data from the api using Soapi.JS2
  • RepReport - an example of using Soapi.JS2 to provide a custom view on your reputation data.
  • SiteMonitor - an example of using Soapi.JS2 to retrieve and display status and statistics for all of the sites in the Stack Exchange network.
  • StackCenter - Your One Stop for Everything StackExchange
  • insert your app here (or leave a comment and I will do it)

So, if you would like to upvote the documentation, please do so in moderation, perhaps no more 3 or 4 votes per day?

Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta preview

    var context = new Soapi.ApiContext(yourApiKey);

    context.initialize(function() {
        context.official.stackApps
        .Users().ById(14)
        .invoke(function(users) {
            alert(users[0].display_name);
        });
    });

Soapi.JS2 takes it to version 11 with a complete paradigm shift. It is a bit heavier and revolves around a fluent, relational query approach similar to that of the Soapi.CS library, providing a seamless view on the data served by the API.

The documentation is available in the download or can be viewed online here: http://soapi.info/Code/JS2/latest/docs/index.htm (documentation data is 5 MB so you may wish to access the help file from the download).

A beta version available at http://soapi.info/Downloads/Soapi.JS2-beta-09-17-2010.zip.

  • JavaScript implementation differences break the throttle on webkit browsers on Linux and Mac OS X
  • minor code and documentation improvements
  • added sync initialize with JSON
  • implemented live samples in documentation (Soapi.JS2.docs.htm) - just a key handful so far, but it is pretty helpful to see a code snippet that you can run right there in the documentation. Now that the major code churn is over, I will be sprinkling relevant live samples throughout the documentation.
  • Minor code improvements
  • Added JS2+CS UserIndexer and UserFinder demo to Soapi.CS samples (the Soapi.JS2 source lives with Soapi.CS)
  • Added Soapi2.Contrib.js to support samples
  • Implemented minification to build process. soapi2.js is minified, soapi2.debug.js is commented and also acts as a Visual Studio IntelliSense source. No need to reference it, just let it sit in the same directory as the references Soapi2.js.

     
  • The minified size is still around 75 KB. Sorry, there is not much I can do as it is mostly public function and type names. If your server supports serving content gzipped it comes down to about 15 KB which is not too bad.

  • Replaced Soapi.enableLogging and Soapi.disableLogging with Soapi.set_logCallback to reduce coupling and enable programmatic processing of Soapi events. See Soapi.log in the documentation for more information.
  • Removed linq.js integration. The convenience was outweighed by the limitations imposed. It was a bad design decision in the first place. Simply create Enumerable when you need it by Enumerable.From(item)
  • Implemented Soapi.Interop (JS2->CS upload) expect dedicated post shortly.
  • Completed Soapi API documentation - started adding content
  • Added SyntaxHighlighter functionality to the documentation
  • Added API compatible custom JSON implementation
  • completed preliminary documentation (/docs/index.htm)
  • adjusted default throttle to 30 per 6.5 as per current API tolerance
  • Windows - all current major browsers tested
  • Linux - Firefox and Chrome test good. Opera has issues.
  • OSX - Firefox, Chrome and Safari test good. Opera has issues.

Apparently Opera on Mac OS X and Linux burns oil. The library performs as expected but the internal throttle does not so caveat emptor until notified otherwise.

Included in the alpha ZIP file is a full coverage test suite and a rather detailed walkthrough.

  • Basic Usage Example 01 - demonstrates how to retrieve related data from the API using Soapi.JS2
  • RepReport - an example of using Soapi.JS2 to provide a custom view on your reputation points data.
  • SiteMonitor - an example of using Soapi.JS2 to retrieve and display status and statistics for all of the sites in the Stack Exchange network.
  • StackCenter - Your One Stop for Everything Stack Exchange
  • insert your app here (or leave a comment and I will do it)

So, if you would like to upvote the documentation, please do so in moderation, perhaps no more three or four votes per day?

added 181 characters in body; deleted 57 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

ChangeLog:Known Issues:

  • JavaScript implementation differences break the throttle on webkit browsers on linux/osx

ChangeLog:

ChangeLog:

Known Issues:

  • JavaScript implementation differences break the throttle on webkit browsers on linux/osx

ChangeLog:

added 391 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 343 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
updated version added geo's app to app list
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 882 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 77 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
updated snippet, version, download and changelog; deleted 844 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 162 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 352 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 405 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
deleted 3 characters in body; edited tags; edited title
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
updated drop and download
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
deleted 598 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 1660 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
added 211 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading