Python Kepler Cloud File Explorer

Contents

Introduction

Python Kepler Cloud 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 Python Kepler Cloud 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

Prerequisites

Installation

  1. Install Django (the File Explorer is built using Django).

    pip install django
    
  2. Run the Django app.

    1. Navigate to the sample-app/kepler directory.
    2. Start the development server on port 8000: python python manage.py runserver`
    3. Open 127.0.0.1:8000to see the logon screen.

Configuration

Before your can begin to make api calls, update the Django middleware class sample-app/kepler/kepler/middleware/cloud_injector.py with your app’s Key and Secret, and set the Callback URL to http://127.0.0.1:8000/token. This process automatically exchanges the OAuth 2.0 authorization code for access token and stores them inside the Django session.

Supported API calls

For the list of supported API calls, refer to Python Release Guide.

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