To retrieve account information, you must first use [access_token
]() method to initiate the account object and the account URL.
The account URL is in the following form: api_url + version + '/accounts'
.
You can now call [getaccount
]() function to retrieve the data in JSON format.
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.