1.5 Getting Started: Javascript Application Setup

To build a web application that interacts with Canopy-enabled devices, you can use the Javascript Client Library (canopy.js) that is part of the Canopy Application Development Kit (ADK).

Using a CDN

The Javascript Client Library (canopy.js) is hosted on our servers. You can reference the file directly with:

<script src='http://code.canopy.link/adk/js/0.9/canopy.js'><script>

Downloading

Alternatively, you can download the file by right clicking on this link and choosing "Save As..".

Download: canopy.js

Cloning Source

You can clone the git repository with:

git clone https://github.com/canopy-project/canopy-js-client

The cloned directory contains the file:

canopy-js-client/canopy.js