INDEX

Preface

Spaceify provides an API for applications, spaceletes and for web pages (spacelets). The API contains two different ways of using it.

  1. JSON-RPC API
  2. JavaScript API

The JSON-RPC API offers low level API methods. The API is used over WebSocket connection to the Spaceify core and the mtoehods are called using JSON-RPC. The methods can be used from applications, spacelets and web pages as long as they can connect to the Spaceify core.

The JavaScipt API contains classes that are the higher level API. These classes encapsulate the process of using the JSON-RPC API into easy to use method calls. The chosen programming language in Spaceify is currently JavaScript and Node.js. Therefore all the classes are written in JavaScript and are implemented so that they can be used in applications, spacelets and web pages.

Close
copyright © Spaceify.org 2014