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

learn more… | top users | synonyms

6
votes
1answer
848 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?
22
votes
15answers
2k views

Soapi.JS : fluent JavaScript client library for the Stack Exchange API

Soapi.js If you are looking for a full featured, compact JavaScript client library that provides complete end to end coverage of the API, Soapi.JS is a good choice. You may also want to check out ...
4
votes
1answer
647 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 ...
1
vote
1answer
314 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 ...