Käynnissä

Insert/update CSV file into Google Spreadsheets using Python and v4 Spreadsheets API

I have a need to upload/insert and update a CSV file into a designated Google Spreadsheet.

Python script must take input of CSV name on filesystem (Mac), year and month for processing on the command line. The specific Google Spreadsheet ID can be stored as a parameter in the script (i.e. will remain static). Version 4 of the sheets API must be used, and the upload of data should not interfere with existing formulas in the sheet.

As per screenshot of the spreadsheet (access will be provided on successful assignment), the year and month are used to define which tab of the spreadsheet the data must be inserted/updated into.

The CSV will always represent the full month of data, so overwriting the cells is permitted (rather than having to figure out what data was stored there previously).

Example CSV is attached, as is screenshot of the current Google Spreadsheet.

Script should gracefully error out if it cannot connect/hits API limits in Google. I will also need sufficient comments in the script to enable me to add additional columns at a later date as well.

Additional context if required:

Data is being exported out of Toggl and output into the CSV, I have coded that bit in Perl (because I know the language well) the Google Spreadsheets API is the bit giving me a headache, hence why we are here. Therefore the input can be changed if required such as adding a header row, open to other options as well.

The end goal is to run the perl script daily to get a new CSV dump from Toggl, then push overwrite the existing rows in the timesheet tab for the month in question.

Additional notes:
Authentication should be handled as per current Google API standards documented at https://developers.google.com/sheets/api/quickstart/python

Taidot: Excel, Google App Engine, Python, tietojärjestelmäarkkitehtuuri, Tietojen kaavinta verkosta

Näytä lisää: update database csv file uploaded using php mysql, migrate csv file access dbase using vb6, update csv file vbscript, vbscript update csv file, upload csv file mysql using php, read csv file vb6 using ado, update csv file java, csv file google search result calendar, csv file comparison using, update csv file php, import csv file google map, convert csv file google map, update csv file using vbnet, fetch kmz file google earth using javascript, update csv file website, mysql update csv file, update csv file tutorial php, import csv file sql 2005 using wizard

Tietoa työnantajasta:
( 2 arvostelua ) MORTLAKE, Australia

Projektin tunnus: #15395109

Myönnetty käyttäjälle:

pradumnjoshi

I have completed similar projects , do let me know about the website. I take one client at a time Relevant Skills and Experience Worked on beautiful soup and selenium, python 2.x and 3.x Proposed Milestones $35 AUD - Lisää

35 $ AUD 1 päivässä
(2 arvostelua)
2.0