Questions about usage of the Stack Exchange API in client-side browser JavaScript.

learn more… | top users | synonyms

4
votes
1answer
648 views

StackScript JavaScript Wrapper

Code Snippet Demonstrates the StackUser class: // Global object var ss = new StackScript(''); function GetInfo() { // The provided callback will be called // when the data arrives var ...
6
votes
1answer
855 views

Is it safe to embed my API key into my javascript-only application?

I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
1
vote
1answer
316 views

How to use the stackapps API from JavaScript with XMLHttpRequest or XDomainRequest?

I had an idea for an app that required calling the stackapps API from JavaScript, but when I started prototyping it I quickly found out that the API does not allow cross origin requests. This means ...