Skip to content

Instantly share code, notes, and snippets.

View jeremiahhorstick's full-sized avatar

Jeremiah Horstick jeremiahhorstick

  • CORELOT & On TIme Solutions Inc
  • Fredericksburg Virginia
View GitHub Profile
@jeremiahhorstick
jeremiahhorstick / sspd.py
Created February 12, 2021 23:04 — 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)