Skip to content

Credentials

Google credentials module.

validate_credentials(client_email=None, private_key=None)

Validates the Google Sheets credentials.

Parameters:

Name Type Description Default
client_email str

The client email for Google Sheets API.

None
private_key str

Base64-encoded private key for Google Sheets API.

None

Returns:

Name Type Description
Client tuple[Client, Any]

The Google Sheets client.