Verizon Personal Cloud Storage SDK for Python allows you to develop apps for Python platform which can access Verizon Personal Cloud Storage user content (subject to the user’s prior approval).
Before you can start coding, you will need to:
Key, Secret, and Callback URL are established during registration. If you have not yet registered, follow the steps on the Getting Credentials to Use the Personal Cloud Storage APIs page in the API Developer Guide to register.
You will need:
In order to download Verizon Personal Cloud Storage SDK for Python, you must 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.
The Python SDK can be either installed, or embedded in your app.
Install or embed the SDK:
python setup.py install.
NOTE: If you place the
thingspace inside another module, you must import that module as well.
Import the SDK and instantiate it with Key, Secret, and Callback URL.
from thingspace.cloud import Cloud cloud = Cloud( client_key='xxxxxxxxxxxxxxxxxxxxxxxxxxxx', client_secret='xxxxxxxxxxxxxxxxxxxxxxxxxxxx', callback_url='http://127.0.0.1:8000/token', )
Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.