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

I am planning to write a javascript library as a wrapper over StackExchange API. Currently, every webapp using StackExchange api needs to compile the url and make a GET request (mostly by ajax) which is somewhat repetitive and can be avoided.

I have started ground level work. I have created repository and already have some helper code which I used in my StackExchange api based app - StackEyeStackEye. Code is present on github.

Idea is if you need to get all the comments for a list of posts. You can call a method like a method like this:

SE.getCommentsOnPost(postList, { site: 'stackoverflow' }, function(commentList) {
  // Consume commentList
});

I just want to know the following

  • Is there any existing js sdk for stackexchange apis ?
  • Is it a fair idea to develop such library ?

Any suggestions would be welcome.

I am planning to write a javascript library as a wrapper over StackExchange API. Currently, every webapp using StackExchange api needs to compile the url and make a GET request (mostly by ajax) which is somewhat repetitive and can be avoided.

I have started ground level work. I have created repository and already have some helper code which I used in my StackExchange api based app - StackEye. Code is present on github.

Idea is if you need to get all the comments for a list of posts. You can call a method like a method like this:

SE.getCommentsOnPost(postList, { site: 'stackoverflow' }, function(commentList) {
  // Consume commentList
});

I just want to know the following

  • Is there any existing js sdk for stackexchange apis ?
  • Is it a fair idea to develop such library ?

Any suggestions would be welcome.

I am planning to write a javascript library as a wrapper over StackExchange API. Currently, every webapp using StackExchange api needs to compile the url and make a GET request (mostly by ajax) which is somewhat repetitive and can be avoided.

I have started ground level work. I have created repository and already have some helper code which I used in my StackExchange api based app - StackEye. Code is present on github.

Idea is if you need to get all the comments for a list of posts. You can call a method like a method like this:

SE.getCommentsOnPost(postList, { site: 'stackoverflow' }, function(commentList) {
  // Consume commentList
});

I just want to know the following

  • Is there any existing js sdk for stackexchange apis ?
  • Is it a fair idea to develop such library ?

Any suggestions would be welcome.

Source Link
Sachin Jain
  • 903
  • 8
  • 17

StackExchange API JS SDk

I am planning to write a javascript library as a wrapper over StackExchange API. Currently, every webapp using StackExchange api needs to compile the url and make a GET request (mostly by ajax) which is somewhat repetitive and can be avoided.

I have started ground level work. I have created repository and already have some helper code which I used in my StackExchange api based app - StackEye. Code is present on github.

Idea is if you need to get all the comments for a list of posts. You can call a method like a method like this:

SE.getCommentsOnPost(postList, { site: 'stackoverflow' }, function(commentList) {
  // Consume commentList
});

I just want to know the following

  • Is there any existing js sdk for stackexchange apis ?
  • Is it a fair idea to develop such library ?

Any suggestions would be welcome.