Node.js Kepler File Explorer

Contents

Introduction

Node.js Kepler File Explorer is a sample app designed to display Verizon Personal Cloud Storage user content. You can use it to view information about photos, videos and music files. The account information feature allows you to display the quota usage details for the Verizon Personal Cloud Storage account.

Before you can download Node.js Kepler File Explorer, you must first log on to ThingSpace Developer Portal and accept Verizon terms and conditions. If you start downloading the file without logging on, the download will stop and you will be redirected to the log on screen. Download will resume after a successful log on.

Setting up Your App

  1. Download Node.js Kepler File Explorer.
  2. Unzip the downloaded file.
  3. Navigate to {{path to sdk}}/node-sample and run npm install to download all 3rd party dependencies.
  4. Open {{path to sdk}}/node-sample/cloud.js.
  5. Change the values of these variables to the values that you have obtained from Key Management when you registered your app:

    • clientKey - change to Key
    • clientSecret - change to Secret
    • callbackUrl - change to HTTP callback address

    Code Sample

    cloud.init({
    var clientKey : "{{Key}}",
         clientSecret : "{{Secret}",
         callbackUrl : "{{HTTP callback address}}", 
        ...
    
  6. Navigate to {{path to sdk}}/node-sample and run the app using node bin/www.

  7. Open the app in your browser: http://localhost:3000/.

NOTE: CALLBACK_URL is case sensitive.

Supported API Calls

Refer to our release guides for a list of supported API calls in each release.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.