Device solutions
End to end solutions
Product accelerators
Get Started
APIs
IoT Devices
To retrieve account information, you must first use [access_token]() method to initiate the account object and the account URL.
access_token
The account URL is in the following form: api_url + version + '/accounts'.
api_url + version + '/accounts'
You can now call [getaccount]() function to retrieve the data in JSON format.
getaccount
Code Sample
account_object = account(request.session.get('access_token'), settings.API_URL + settings.VERSION + '/account') account_info = account_object.getaccount()
Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.