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
const axios = require("axios"); | |
const ics = require('ics'); | |
const fs = require('fs'); | |
const asanaClient = axios.create({ | |
baseURL: 'https://app.asana.com/api/1.0/', | |
headers: { "Authorization": "Bearer <Get personal ACCESS_TOKEN from Asana>" } | |
}); | |
async function getMe() { |
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
// Additional configuration required. In the script editor, go to Edit -> Current Project Triggers and set the following settings: | |
// Time Driven, Day Timer, 7-8am (or any other time of your preference) | |
function sendSkimmtoPocket() { | |
var today = new Date(); | |
var date = Utilities.formatDate(today, "EST", "YYYY-MM-dd"); | |
// Mail contents | |
var mailtitle = "Pocket "+ date; |