Quickstart with the Smartsheet Python SDK
masterTo begin using the Smartsheet Python SDK, follow these three steps:
- Set your access token: Define the
SMARTSHEET_ACCESS_TOKENenvironment variable in your system. You can obtain this via direct API access in the Smartsheet platform. - Install the SDK: Use
pipto install the package. - Import the module: Import
smartsheetin your Python script to start interacting with the API.
For more complex operations, refer to the full Smartsheet API Documentation for specific usage examples.
# 1. Set environment variable
export SMARTSHEET_ACCESS_TOKEN='your_access_token_here'
# 2. Install the SDK
pip install smartsheet-python-sdk# 3. Import the module
import smartsheet