I am trying to import data from a google spreadsheet and programatically create objects from it. I have been able to see the data but cant understand how to process each filed. I have attached the code I have so far.
How do I access the fields of data and create objects from them. It looks like a dictionary object but I cant read the fields by name.
gd_client = gdata.spreadsheet.service.SpreadsheetsService()
gd_client.email = 'firstname.lastname@example.org'
gd_client.password = 'password'
gd_client.source = 'my-exporter-1'
key = 'biglongggoledockey'
def ListGetAction(gd_client, key, wksht_id):
# Get the list feed
feed = gd_client.GetListFeed(key, wksht_id)
for line in feed.entry: