Python API - Getting Started

Elias Adame
✭✭
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": "john.doe@smartsheet.com", "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
-
Hi @Elias Adame
I'm glad you were able to figure it out! There are more examples of using Python with the Smartsheet API in Stack Overflow (here) should you have questions in the future.
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
NEW Smartsheet API Documentation - bookmark the updated link! https://developers.smartsheet.com