Skip to content

Instantly share code, notes, and snippets.

View bandaangosta's full-sized avatar
🌎

José L. Ortiz bandaangosta

🌎
View GitHub Profile
@bandaangosta
bandaangosta / sspd.py
Created July 15, 2017 14:25 — forked from tbuckl/sspd.py
pandas utils for smartsheets
from smartsheet import *
import pandas as pd
from credentials import smartsheet_token
smartsheet = smartsheet.Smartsheet(smartsheet_token)
def get_sheet_as_df(sheet_id):
ss1 = smartsheet.Sheets.get_sheet(sheet_id, page_size=0)
row_count = ss1.total_row_count
ss1 = smartsheet.Sheets.get_sheet(sheet_id, page_size=row_count)