Skip to main content
83 events
when toggle format what by license comment
S Jan 8, 2019 at 20:56 history suggested Glorfindel CC BY-SA 4.0
library is now obsolete
Jan 8, 2019 at 20:29 review Suggested edits
S Jan 8, 2019 at 20:56
Apr 13, 2017 at 12:25 history edited CommunityBot
replaced http://stackapps.com/ with https://stackapps.com/
Feb 10, 2016 at 14:05 comment added foobarbecue I guess soapi.js is dead now? Someone should edit this to make that clear if so... And preferably suggest an alternative that works with API 2.2, if there is one. I can't seem to find any :-(
Aug 21, 2010 at 23:36 history edited Sky Sanders CC BY-SA 2.5
updated docs location and linked to soapi.js2; edited title; edited title
Aug 11, 2010 at 19:37 answer added Nathan Osman timeline score: 1
Jul 20, 2010 at 18:18 history edited Sky Sanders CC BY-SA 2.5
added 401 characters in body
Jul 20, 2010 at 18:15 answer added Sky Sanders timeline score: 2
Jul 20, 2010 at 12:22 comment added Steffen Opel @code poet - that's great news, congrats for release 1.0 :) Thanks much for the heads up and persistently tackling this crucial issue in the first place, and thanks even more for the great library again!
Jul 20, 2010 at 6:00 comment added Sky Sanders @steffen - heads up. throttle issue resolved - soapi.js released. now just need to flatten some closures to tighten up the memory footprint. Thanks for you feedback and support.
Jul 20, 2010 at 5:42 history edited Sky Sanders CC BY-SA 2.5
release 1 finally
Jul 19, 2010 at 5:09 comment added Sky Sanders @geo - sure, when I next update the question I will also update the list with all apps that are listed under the 'more' item.
Jul 19, 2010 at 2:01 comment added Nathan Osman @code: Heh-heh... missed that. Can you please add StackCenter to your list of apps that use Soapi.JS?
Jul 19, 2010 at 0:46 comment added Sky Sanders @geo - Date handling in Soapi.js - no more unix timestamps. All dates, all the time. -> stackapps.com/questions/494/soapi-js-date-handling/977#977
Jul 18, 2010 at 22:47 comment added Nathan Osman Please bold the "unix timestamps are converted to/from JavaScript Date transparently" part. I spent a lot of time trying to figure out why something wasn't working... and this was why.
Jul 18, 2010 at 12:22 comment added Yacoby @code I don't seem to be having any problems with the latest version :)
Jul 16, 2010 at 9:09 comment added Nathan Osman @code: Can you add StackCenter to your list of apps that use Soapi.JS?
Jul 15, 2010 at 21:33 history edited Sky Sanders CC BY-SA 2.5
added 143 characters in body
Jul 15, 2010 at 21:31 answer added Sky Sanders timeline score: 3
Jul 15, 2010 at 20:54 history edited Sky Sanders CC BY-SA 2.5
added 319 characters in body
Jul 15, 2010 at 20:50 answer added Sky Sanders timeline score: 3
Jul 15, 2010 at 20:18 answer added Sky Sanders timeline score: 3
Jul 15, 2010 at 20:02 comment added Sky Sanders @yacoby. could you verify that the latest release resolves this issue?
Jul 15, 2010 at 19:59 history edited Sky Sanders CC BY-SA 2.5
added 1468 characters in body; edited title; added 70 characters in body
Jul 6, 2010 at 14:13 comment added Sky Sanders @yacoby - in the meantime, try function isArray(obj) { return (typeof (obj) != 'undefined') && obj.constructor && obj.constructor.toString().indexOf("Array") != -1; }
Jul 6, 2010 at 14:05 comment added Sky Sanders @yacoby - also it would help me understand the problem and perhaps identify potential issues if you would state the OS/Browser that you are using when this error occurs. Please do so in a ticket and we will get this resolved.
Jul 6, 2010 at 13:55 comment added Sky Sanders @Yacoby, while the internal code should not be calling isArray on an undefined value, I probably should guard it a little more. Keep in mind that undefined can be assigned to anything, so obj!==undefined is considered weak compared to typeof(obj)=='undefined'. You should open a ticket here: soapijs.codeplex.com/workitem/list/basic so that we can document this
Jul 6, 2010 at 13:44 comment added Yacoby @code poet Sometimes undefined is passed to isArray which causes an error. I changed line 621 to return (obj !== undefined && obj.constructor.toString().indexOf("Array") !== -1); and deleted lines 622 to 629. I don't yet know why undefined was passed to the function. I suspect it is an error in my code.
Jul 5, 2010 at 0:25 history edited Sky Sanders CC BY-SA 2.5
deleted 307 characters in body; added 9 characters in body
Jul 5, 2010 at 0:23 answer added Sky Sanders timeline score: 1
Jul 4, 2010 at 23:15 history edited Sky Sanders CC BY-SA 2.5
added 1270 characters in body; edited title
Jul 3, 2010 at 4:24 history edited Sky Sanders CC BY-SA 2.5
added 451 characters in body
Jul 2, 2010 at 7:46 history edited Sky Sanders CC BY-SA 2.5
added 348 characters in body
Jul 2, 2010 at 7:31 history edited Sky Sanders CC BY-SA 2.5
deleted 78 characters in body
Jul 2, 2010 at 7:23 history edited Sky Sanders CC BY-SA 2.5
updated to rc2 - documented date handling - announced documentation; deleted 48 characters in body
Jul 2, 2010 at 5:38 answer added Sky Sanders timeline score: 2
Jul 1, 2010 at 19:34 comment added Steffen Opel @code poet - Awesome, thanks so much! It would have been a real pity not being able to built upon your excellent work, which isn't just extremely productive, but really opened new design options regarding my project architecture, very inspiring! So thanks again, I really hope there's something in it for all of us in the long run, aside from all the fun, anyway :)
Jul 1, 2010 at 14:35 comment added Sky Sanders @steffen - licensing has been updated here and in the package. thanks.
Jul 1, 2010 at 14:32 history edited Sky Sanders CC BY-SA 2.5
deleted 458 characters in body
Jul 1, 2010 at 14:06 history edited Sky Sanders CC BY-SA 2.5
amended license
Jul 1, 2010 at 13:57 comment added Sky Sanders @steffen - thanks for bringing this up and adding some well researched context to your question. Yes, initially i released soapi dual licensed ala jquery. I don't know when/why this changed in my mind but it just seemed to propagate throughout without questioning it. I will make it clear that it is (again) dual licensed and that until the next release where this will be codified, feel free to amend any license notice accordingly with my blessing.
Jul 1, 2010 at 11:27 comment added Steffen Opel To add some context: GPL licensing with JavaScript is obviously a complex matter, highlighted pretty well e.g. in Is this scenario in compliance with GPLv3?. A more concise summary might be GPL and Javascript. See Richard Stallmanns position regarding the The JavaScript Trap too, eventually, as he refers to input from John Resig of jQuery fame specifically.
Jul 1, 2010 at 10:58 comment added Steffen Opel I just realized that Soapi.JS is licensed under the GPL v2 only. That's generally fine, appreciated and your choice anyway, however: I'm currently in the prototyping phase regarding some larger projects and have to decide which components to build these upon. While I intend to open source most derived components too (hard to avoid with JS anyway ;) the assembled apps might not be for various reasons (think e.g. GAE/GWT here). Are you considering dual licensing Soapi.JS in the future, e.g. (ideally ;) with the MIT License like jQuery or (understandably) a commercial license option? Thanks much!
Jul 1, 2010 at 7:03 history edited Sky Sanders CC BY-SA 2.5
added 676 characters in body; added 170 characters in body
Jul 1, 2010 at 6:51 history edited Sky Sanders CC BY-SA 2.5
added 444 characters in body
Jul 1, 2010 at 6:24 history edited Sky Sanders CC BY-SA 2.5
added 110 characters in body
Jul 1, 2010 at 3:52 history edited Sky Sanders CC BY-SA 2.5
added 330 characters in body
Jul 1, 2010 at 3:50 answer added Sky Sanders timeline score: 1
Jul 1, 2010 at 2:36 history edited Sky Sanders CC BY-SA 2.5
added 196 characters in body
Jul 1, 2010 at 2:31 history edited Sky Sanders CC BY-SA 2.5
deleted 259 characters in body; edited tags; edited title
Jun 27, 2010 at 2:52 history edited Sky Sanders CC BY-SA 2.5
added 105 characters in body
Jun 26, 2010 at 23:51 comment added Sky Sanders @yacoby - yes, the stackauth methods will be folded in the next version. for reference, the routes are named similarly to the url so /users/{id}/answers would be usersByIdAnswers. You can use beta 4 to get acquainted with the library but since the API is frozen, I have suspended code generation and am manually refactoring the library. I am not taking anything out, just consolidating. I will release it as beta 9. should be in
Jun 26, 2010 at 23:02 comment added Yacoby @code One last question... How do I get answers by user id?
Jun 26, 2010 at 22:19 comment added Yacoby @code Np. Are you also working on a wrapper around the /sites method? (I may have just missed it in the current version)
Jun 26, 2010 at 18:35 comment added Sky Sanders @Yacoby - sorry about that. updated to beta 4. have yet to incorporate the stackauth methods in js. am working on refining the code generation and will inform when update is available.
Jun 26, 2010 at 18:33 history edited Sky Sanders CC BY-SA 2.5
added 46 characters in body
Jun 26, 2010 at 17:38 comment added Yacoby The Javascript code download using the link given on your site doesn't work. The link is given as: soapi.info/downloads/Soapi.JS.beta3-refresh.zip
Jun 16, 2010 at 10:41 comment added Sky Sanders @system - the displayname property was removed from the /stats return. so, yeah, I guess it is correct. ;-)
Jun 16, 2010 at 7:34 comment added systempuntoout @code: is it correct to see Undefined on top of the widgets of this page? soapi.info/Code/JS/Stable/StackExchangeStatusMonitor.htm
Jun 14, 2010 at 3:55 comment added Nathan Osman @code: You should drop by #stackapps on Freenode :)
Jun 14, 2010 at 3:49 comment added Nathan Osman @code: I'd offer to make something, except my plate is quite full :) [what with your contest and all!]
Jun 14, 2010 at 3:27 comment added Sky Sanders @george - last time I checked it did not support javascript xml comments. I will take another look. I certainly do not look forward to managing this myself. I have other things I would like to do. Thanks for the heads up.
Jun 14, 2010 at 3:18 comment added Nathan Osman @code: Wouldn't Doxygen be more what you're looking for? IIRC, it can generate CHM, HTML, LaTeX, etc. from Javascript code.
Jun 14, 2010 at 2:30 comment added Sky Sanders @farseeker - the method names are not the prettiest, but as I intend all of the Soapi libraries to serve as solid core foundations upon which higher level libraries can be built I felt it would be best to generate all of the identifiers directly from the api specs. Once I have the core libraries up I will post examples of extending Soapi with lazy loaded object graphs. say, start with a Users, dot Questions will load questions if empty (Users.Questions.load/refresh are explicit directives) and so on throughout the object graph enabling fluent dot navigation across the entire api.
Jun 14, 2010 at 2:02 comment added Mark Henderson Turns out I was just being dense. I was using singlar instead of plurar (getQuestionById instead of getQuestionsById)
Jun 14, 2010 at 1:33 comment added Sky Sanders @farseeker - I am finishing up the beta3 of soapi.cs and soapi.sl and getting that documentation generated. Then I will have to break out my old proof of concept javascript documentation generator, get it up to date and generate .chm and html docs for Soapi.JS as well. FWIW the method names are generated directly from the route path with a few formating conventions. With a little examination the pattern will become clear.
Jun 14, 2010 at 1:29 comment added Sky Sanders @farseeker - see the answer A: How do I get a question? stackapps.com/questions/494/…
Jun 14, 2010 at 1:29 answer added Sky Sanders timeline score: 1
Jun 14, 2010 at 1:03 comment added Mark Henderson @code, maybe I'm going blind, but how do you retrieve just a question? I see AnswersById, but this is only valid for answers, not questions, and I'm not using VS so I can't see the intellisense hints, and I've scoured the soapi.generated.js file to try and find the parameter and maybe I'm just tired... sigh
Jun 12, 2010 at 10:38 answer added Sky Sanders timeline score: 3
Jun 12, 2010 at 5:05 answer added Sky Sanders timeline score: 3
Jun 12, 2010 at 3:31 answer added Sky Sanders timeline score: 1
Jun 12, 2010 at 3:03 answer added Sky Sanders timeline score: 1
Jun 12, 2010 at 2:09 history edited Sky Sanders CC BY-SA 2.5
deleted 288 characters in body
Jun 12, 2010 at 1:47 answer added Sky Sanders timeline score: 3
Jun 12, 2010 at 0:56 history edited Sky Sanders CC BY-SA 2.5
added 296 characters in body
Jun 10, 2010 at 8:56 comment added Sky Sanders @maxim - yup. I know and I like it. ;-)
Jun 10, 2010 at 7:29 comment added Maxim Zaslavsky "soapy"! <!-- comment -->
Jun 10, 2010 at 6:59 history edited Sky Sanders CC BY-SA 2.5
added 18 characters in body
Jun 10, 2010 at 5:16 history edited Sky Sanders CC BY-SA 2.5
added 23 characters in body
Jun 10, 2010 at 3:39 history edited Sky Sanders CC BY-SA 2.5
deleted 486 characters in body; edited title; added 124 characters in body
Jun 4, 2010 at 1:37 answer added Sky Sanders timeline score: 6
Jun 3, 2010 at 11:42 history asked Sky Sanders CC BY-SA 2.5