Client Module Documentation¶
- class gsheetquery.client.Client¶
A class representing a client for accessing Google Sheets API.
- create_database(name)¶
Create a new spreadsheet file with the given name.
- Parameters:
name – The name of the spreadsheet to create.
- Returns:
A Database object representing the newly created spreadsheet file.
- del_database(name)¶
Delete a spreadsheet file associated with a database.
- Parameters:
name – The name of the database to delete.
- get_database(name)¶
Get the spreadsheet file associated with a database.
- Parameters:
name – The name of the database to retrieve.
- Returns:
A Database object representing the spreadsheet file, or None if the file was not found.
- list_databases()¶
Return a list of databases in the user’s Google Drive.
- Returns:
A list of database names.