Get data
Tags: #gsheet #data #naas_drivers
Author: Jeremy Ravenel
Pre-requisite: share your Google Sheet with our service account For the driver to fetch the contents of your google sheet, you need to share it with the service account linked with Naas.

Input

Import library

1
from naas_drivers import gsheet
Copied!

Variables

1
spreadsheet_id = "---------"
Copied!

Model

Connect to gsheet

1
gsheet.connect(spreadsheet_id)
Copied!

Output

Get the data

1
gsheet.get(sheet_name="TSLA")
Copied!
Copy link
Edit on GitHub