diff --git a/CustomerNotes/Mattr.md b/CustomerNotes/Mattr.md new file mode 100644 index 00000000..8c2ea42f --- /dev/null +++ b/CustomerNotes/Mattr.md @@ -0,0 +1,9 @@ +# Mattr + +## 02/28/2023 + +### Content Strategy + +Nata & Ashley - Content Strategy +MVP - 4 courses, ready by Mid-March +No involvement from Norm until the MVP launch in March. Then will review content and strategy and offer advice. diff --git a/CustomerNotes/Walmart.md b/CustomerNotes/Walmart.md index c33d7709..1ef37e5b 100644 --- a/CustomerNotes/Walmart.md +++ b/CustomerNotes/Walmart.md @@ -378,3 +378,7 @@ Krystal back in August - 6 months total. DONE: Add to monday: MJ, Lauren, Cassie, Travis, Nichole, Felicia Krystal to speak to lead designer to give Cam insight as to how they design their images, that will help Cam get "in the spirit". + +## 03/01/2023 + +### Meeting Cassie, Lauren Hand off diff --git a/Scripts/GoogleScripts/MizunoPGA/.clasp.json b/Scripts/GoogleScripts/MizunoPGA/.clasp.json new file mode 100644 index 00000000..980dc864 --- /dev/null +++ b/Scripts/GoogleScripts/MizunoPGA/.clasp.json @@ -0,0 +1 @@ +{"scriptId":"1YHgQUXTmBttTnbZH1O9n5IVuX0Ymr9GIBcL2mfpLWmtvv7UhrwlJQZC_","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/MizunoPGA"} diff --git a/Scripts/GoogleScripts/MizunoPGA/GetPgaIds.js b/Scripts/GoogleScripts/MizunoPGA/GetPgaIds.js new file mode 100644 index 00000000..627dbf43 --- /dev/null +++ b/Scripts/GoogleScripts/MizunoPGA/GetPgaIds.js @@ -0,0 +1,88 @@ +const sheet = SpreadsheetApp.getActiveSheet(); +const apiKey = 'stXNF84HWL8aCGeRjHEo2rJ1U'; + +function getUuids() { + var sheet = SpreadsheetApp.getActiveSheet(); + var numRows = sheet.getLastRow()-1; // Number of rows to process + var dataRange = sheet.getRange(3, 3, numRows, 1); // Column C + var values = dataRange.getValues(); + writeHeadings(); + + for (email in values){ + var row = values[email]; + var email = row[0] + var api_url = 'https://api.northpass.com/v2/people/?filter[email][eq]='+email; + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + }; + const sendMsg = UrlFetchApp.fetch(api_url, settings); + var uuidResponse = sendMsg.getContentText(); + var parsedata = JSON.parse(uuidResponse); + try { + var uuid = parsedata["data"][0]["id"]; + if (email != "") { + findRow(email, uuid); + } + } + catch(ex) { + Logger.log(ex) + continue + } + finally { + } + }; + }; + +function findRow(email, uuid){ + var sheetRow = SpreadsheetApp.getActiveSpreadsheet(); + var data = sheetRow.getDataRange().getValues(); + for(var i = 0; i