http://www.smashingmagazine.com/2011/12/12/an-introduction-to-object-oriented-css-oocss/
http://css-tricks.com/when-using-important-is-the-right-choice/
| function updateEvents() { | |
| // Get Sheet and Calendar | |
| var spreadsheet = SpreadsheetApp.getActiveSheet(); | |
| var postCal = CalendarApp.getCalendarById('talentinc.com_hq7sgaqvp5kjgu7a865n4j91tc@group.calendar.google.com'); | |
| // Get data from Sheet | |
| var data = spreadsheet.getDataRange().getValues() | |
| var posts = [] | |
| /** | |
| * Warpcast Scheduler for Google Sheets | |
| * | |
| * This script polls a Google Sheet and schedules posts to be sent via an API | |
| * at the times specified in the "Post Time" column. | |
| */ | |
| // Configuration | |
| const API_URL = 'MY API URL'; | |
| const API_KEY = PropertiesService.getScriptProperties().getProperty('APIKey'); |