Python API - Getting Started

edited 03/15/21 in API & Developers
03/15/21 Edited 03/15/21
Answered - Pending Review

I'm barely getting started with Smarthsheet's Python API. I'm trying to get current user by using

smartsheet_client.Users.get_current_user()

but instead of getting a json response such as

{
  "id": 48569348493401200,
  "email": "[email protected]",
  "firstName": "John",
  "lastName": "Doe",
  "locale": "en_US",
  "timeZone": "US/Pacific",
  "account": {
    "name": "Team Smartsheet",
    "id": 942513719853956
  }

I get the following:

<smartsheet.models.user_profile.UserProfile at 0x267f8f85748>

Any thoughts on what is going wrong?


EDIT: I simply needed to print. DUH. Don't know how to delete question.

Answers

Sign In or Register to comment.