webCOMAND

comand.js

The entry point to the COMAND JavaScript API.  It provides methods to query COMAND repositories, and load additional JavaScript libraries.

Example

<script src="https://<account>.webcomand.com/ws/js/comand.js"></script>
<!-- include your script(s) that use the API here, or... -->
<script>
    // write your inline code here, like:
    var repo = comand.repo({token: '<publicAuthToken>'});
    var contacts = repo.get('SELECT FullName FROM Contact');
    contacts.forEach(function(contact) {
        console(contact.FullName);
    });
</script>
</body>
</html>