Created
August 15, 2022 01:16
-
-
Save elseagle/c0f002a3e5c0cb46963cfdef9dd02866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example from official doc: https://docs.gspread.org/en/latest/user-guide.html#formatting | |
worksheet.format("A2:B2", { | |
"backgroundColor": { | |
"red": 0.0, | |
"green": 0.0, | |
"blue": 0.0 | |
}, | |
"horizontalAlignment": "CENTER", | |
"textFormat": { | |
"foregroundColor": { | |
"red": 1.0, | |
"green": 1.0, | |
"blue": 1.0 | |
}, | |
"fontSize": 12, | |
"bold": True | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment