

To do that just follow the steps below.ġ. It’s a very good Python library for interacting with Google Sheet as it is very simple and straight forward.įor interacting with Google Sheet API first thing we have to do is create a project in Google Developers Console and enable some APIs. gspread is a Python API for Google Sheets. In that Python script I have used a library called gspread. So what I have decided is that I will write an article on how I have uploaded the CSV file to Google Spread Sheet and this article is the result of it. But the way I managed to import the generated CSV file to Google Sheet is very generic. The JSON data and business rules of the script are very specific for my manager. We can import CSV files exported from Trello, or create your. The sheet helped my manager to get insight of the JSON data so that he can take action based on it. Import from CSV or Excel files (google sheets can be saved as CSV). Again, another dialog box will appear with the Excel File.

Do not forget to enclose the URL in a quote-unquote symbol. Select the Google Sheets option and paste the link on the Google Link Field. Next, paste the link of webpage containg the data.

Type the (equal sign) to begin the function and then followed by the name of the function, which is IMPORTHTML. The purpose the script was to read some JSON data, apply some business rules on them, generate a CSV(Comma Separated Value) file and upload it in a Google Spread Sheet. From there search for the Excel file name if you uploaded the Excel file earlier. Open a Google Sheets document where you want to import the table. Recently I have written a Python script for my Manager.
