diff --git a/Custom_Templates/customer_templates/G2/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/G2/_learning_paths_index.html.liquid index 0a659373..2440851b 100644 --- a/Custom_Templates/customer_templates/G2/_learning_paths_index.html.liquid +++ b/Custom_Templates/customer_templates/G2/_learning_paths_index.html.liquid @@ -6,9 +6,15 @@ {% else %}
- Stay tuned for Learning Paths! + Certifications coming Wednesday, June 14th!
{% t .empty %}
{% endif %} + + diff --git a/Custom_Templates/customer_templates/G2/learning_paths.html.liquid b/Custom_Templates/customer_templates/G2/learning_paths.html.liquid new file mode 100644 index 00000000..e0f8c059 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/learning_paths.html.liquid @@ -0,0 +1,36 @@ +{% include "header" %} +
+
+ {{ homepage.headline }} +
+
+ G2 Certifications +
+
+ Enroll in pre-set courses on G2 basics, marketing, and buyer intent to earn certs that’ll help boost your knowledge, drive revenue, and increase ROI. +
+
+ +
+{% include "sub_navigation" %} +
+
+ Become #G2Certified +
+
+
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} + + diff --git a/Scripts/.DS_Store b/Scripts/.DS_Store index db39dcb2..3e14c610 100644 Binary files a/Scripts/.DS_Store and b/Scripts/.DS_Store differ diff --git a/Scripts/Auto_Scrape_Screenshots/.DS_Store b/Scripts/Auto_Scrape_Screenshots/.DS_Store index 0a51bcea..ce2df692 100644 Binary files a/Scripts/Auto_Scrape_Screenshots/.DS_Store and b/Scripts/Auto_Scrape_Screenshots/.DS_Store differ diff --git a/Scripts/Auto_Scrape_Screenshots/2022 tax filing FAQs_1.png b/Scripts/Auto_Scrape_Screenshots/2022 tax filing FAQs_1.png new file mode 100644 index 00000000..9e916ce8 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/2022 tax filing FAQs_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/About your earnings_1.png b/Scripts/Auto_Scrape_Screenshots/About your earnings_1.png new file mode 100644 index 00000000..4052c4f2 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/About your earnings_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Accessing your metrics_1.png b/Scripts/Auto_Scrape_Screenshots/Accessing your metrics_1.png new file mode 100644 index 00000000..cc482620 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Accessing your metrics_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/App issues & running troubleshooting tests_1.png b/Scripts/Auto_Scrape_Screenshots/App issues & running troubleshooting tests_1.png new file mode 100644 index 00000000..ea8c9c7b Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/App issues & running troubleshooting tests_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Appealing a deactivation_1.png b/Scripts/Auto_Scrape_Screenshots/Appealing a deactivation_1.png new file mode 100644 index 00000000..ca2c3c6c Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Appealing a deactivation_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Bagging tips_1.png b/Scripts/Auto_Scrape_Screenshots/Bagging tips_1.png new file mode 100644 index 00000000..84221355 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Bagging tips_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/COVID-19 best practices_1.png b/Scripts/Auto_Scrape_Screenshots/COVID-19 best practices_1.png new file mode 100644 index 00000000..1f27243d Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/COVID-19 best practices_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Cancel a trip_1.png b/Scripts/Auto_Scrape_Screenshots/Cancel a trip_1.png new file mode 100644 index 00000000..1211bc9e Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Cancel a trip_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Canceled order due to food safety concerns_1.png b/Scripts/Auto_Scrape_Screenshots/Canceled order due to food safety concerns_1.png new file mode 100644 index 00000000..3547ff51 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Canceled order due to food safety concerns_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Changing your Spark Driver™ app settings_1.png b/Scripts/Auto_Scrape_Screenshots/Changing your Spark Driver™ app settings_1.png new file mode 100644 index 00000000..3b061de5 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Changing your Spark Driver™ app settings_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Checking out Shopping & Delivery orders_1.png b/Scripts/Auto_Scrape_Screenshots/Checking out Shopping & Delivery orders_1.png new file mode 100644 index 00000000..873650c8 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Checking out Shopping & Delivery orders_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Claiming your Branch Wallet_1.png b/Scripts/Auto_Scrape_Screenshots/Claiming your Branch Wallet_1.png new file mode 100644 index 00000000..303fe749 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Claiming your Branch Wallet_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Communicating with customers_1.png b/Scripts/Auto_Scrape_Screenshots/Communicating with customers_1.png new file mode 100644 index 00000000..fa12968e Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Communicating with customers_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Customer is not home to accept an attended delivery_1.png b/Scripts/Auto_Scrape_Screenshots/Customer is not home to accept an attended delivery_1.png new file mode 100644 index 00000000..49e88ea3 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Customer is not home to accept an attended delivery_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Customer labels and scanning_1.png b/Scripts/Auto_Scrape_Screenshots/Customer labels and scanning_1.png new file mode 100644 index 00000000..0ec75483 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Customer labels and scanning_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Damaged order or damaged items received_1.png b/Scripts/Auto_Scrape_Screenshots/Damaged order or damaged items received_1.png new file mode 100644 index 00000000..6950e340 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Damaged order or damaged items received_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Damaged order or damaged items received_2.png b/Scripts/Auto_Scrape_Screenshots/Damaged order or damaged items received_2.png new file mode 100644 index 00000000..b4c9bd71 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Damaged order or damaged items received_2.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Delivering a return to store offer_1.png b/Scripts/Auto_Scrape_Screenshots/Delivering a return to store offer_1.png new file mode 100644 index 00000000..2d9dc6d3 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Delivering a return to store offer_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Delivering an order with alcohol_1.png b/Scripts/Auto_Scrape_Screenshots/Delivering an order with alcohol_1.png new file mode 100644 index 00000000..46ac2f6f Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Delivering an order with alcohol_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Delivering cold and flu medicine orders with Dextromethorphan_1.png b/Scripts/Auto_Scrape_Screenshots/Delivering cold and flu medicine orders with Dextromethorphan_1.png new file mode 100644 index 00000000..1055c444 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Delivering cold and flu medicine orders with Dextromethorphan_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Delivering to a hotel or hospital_1.png b/Scripts/Auto_Scrape_Screenshots/Delivering to a hotel or hospital_1.png new file mode 100644 index 00000000..a46c70f3 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Delivering to a hotel or hospital_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Delivery FAQs_1.png b/Scripts/Auto_Scrape_Screenshots/Delivery FAQs_1.png new file mode 100644 index 00000000..82bd49e6 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Delivery FAQs_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Downloading the Spark Driver™ app & signing in_1.png b/Scripts/Auto_Scrape_Screenshots/Downloading the Spark Driver™ app & signing in_1.png new file mode 100644 index 00000000..1c9f3494 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Downloading the Spark Driver™ app & signing in_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Driver support options_1.png b/Scripts/Auto_Scrape_Screenshots/Driver support options_1.png new file mode 100644 index 00000000..72bcbe8e Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Driver support options_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Earnings FAQs_1.png b/Scripts/Auto_Scrape_Screenshots/Earnings FAQs_1.png new file mode 100644 index 00000000..c72a608c Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Earnings FAQs_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Error messages & alerts_1.png b/Scripts/Auto_Scrape_Screenshots/Error messages & alerts_1.png new file mode 100644 index 00000000..f235d67f Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Error messages & alerts_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Forgotten, mixed up, or missing items_1.png b/Scripts/Auto_Scrape_Screenshots/Forgotten, mixed up, or missing items_1.png new file mode 100644 index 00000000..89826ba5 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Forgotten, mixed up, or missing items_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/General Spark Driver™ app earnings information_1.png b/Scripts/Auto_Scrape_Screenshots/General Spark Driver™ app earnings information_1.png new file mode 100644 index 00000000..5f2d361a Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/General Spark Driver™ app earnings information_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/How to apply for ONE for existing drivers_1.png b/Scripts/Auto_Scrape_Screenshots/How to apply for ONE for existing drivers_1.png new file mode 100644 index 00000000..ecad2d17 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/How to apply for ONE for existing drivers_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Issues with confirming arrival at the store or customer location_1.png b/Scripts/Auto_Scrape_Screenshots/Issues with confirming arrival at the store or customer location_1.png new file mode 100644 index 00000000..002f03b1 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Issues with confirming arrival at the store or customer location_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Items rejected by customer_1.png b/Scripts/Auto_Scrape_Screenshots/Items rejected by customer_1.png new file mode 100644 index 00000000..20987c35 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Items rejected by customer_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/ONE FAQs for existing drivers_1.png b/Scripts/Auto_Scrape_Screenshots/ONE FAQs for existing drivers_1.png new file mode 100644 index 00000000..23c9dffe Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/ONE FAQs for existing drivers_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Onboarding to the Spark Driver™ platform_1.png b/Scripts/Auto_Scrape_Screenshots/Onboarding to the Spark Driver™ platform_1.png new file mode 100644 index 00000000..beb7a020 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Onboarding to the Spark Driver™ platform_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Order rejected by customer_1.png b/Scripts/Auto_Scrape_Screenshots/Order rejected by customer_1.png new file mode 100644 index 00000000..7ee4d71c Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Order rejected by customer_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Picking up a curbside order_1.png b/Scripts/Auto_Scrape_Screenshots/Picking up a curbside order_1.png new file mode 100644 index 00000000..3e36bf91 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Picking up a curbside order_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Picking up an in-store order_1.png b/Scripts/Auto_Scrape_Screenshots/Picking up an in-store order_1.png new file mode 100644 index 00000000..dcf7e83e Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Picking up an in-store order_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Picking up orders from non-Walmart locations_1.png b/Scripts/Auto_Scrape_Screenshots/Picking up orders from non-Walmart locations_1.png new file mode 100644 index 00000000..b6bc7853 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Picking up orders from non-Walmart locations_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Pointers on contacting a customer during a delivery_1.png b/Scripts/Auto_Scrape_Screenshots/Pointers on contacting a customer during a delivery_1.png new file mode 100644 index 00000000..8abdd5e1 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Pointers on contacting a customer during a delivery_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Pointers on creating your account_1.png b/Scripts/Auto_Scrape_Screenshots/Pointers on creating your account_1.png new file mode 100644 index 00000000..756458cd Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Pointers on creating your account_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Pointers on setting up your account_1.png b/Scripts/Auto_Scrape_Screenshots/Pointers on setting up your account_1.png new file mode 100644 index 00000000..8db08bcb Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Pointers on setting up your account_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Pointers on sharing your location_1.png b/Scripts/Auto_Scrape_Screenshots/Pointers on sharing your location_1.png new file mode 100644 index 00000000..db6bb2e9 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Pointers on sharing your location_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Pointers on substituting customer items_1.png b/Scripts/Auto_Scrape_Screenshots/Pointers on substituting customer items_1.png new file mode 100644 index 00000000..e9220922 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Pointers on substituting customer items_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Pointers on viewing your earnings_1.png b/Scripts/Auto_Scrape_Screenshots/Pointers on viewing your earnings_1.png new file mode 100644 index 00000000..ad318394 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Pointers on viewing your earnings_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Produce shopping_1.png b/Scripts/Auto_Scrape_Screenshots/Produce shopping_1.png new file mode 100644 index 00000000..7605b714 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Produce shopping_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Questions about earnings?_1.png b/Scripts/Auto_Scrape_Screenshots/Questions about earnings?_1.png new file mode 100644 index 00000000..36e5070e Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Questions about earnings?_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Receiving offers_1.png b/Scripts/Auto_Scrape_Screenshots/Receiving offers_1.png new file mode 100644 index 00000000..f2bbad25 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Receiving offers_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Referral incentives_1.png b/Scripts/Auto_Scrape_Screenshots/Referral incentives_1.png new file mode 100644 index 00000000..1b89a7ad Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Referral incentives_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Reporting safety incidents or customer conduct concerns_1.png b/Scripts/Auto_Scrape_Screenshots/Reporting safety incidents or customer conduct concerns_1.png new file mode 100644 index 00000000..9069c5d8 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Reporting safety incidents or customer conduct concerns_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Resetting your password_1.png b/Scripts/Auto_Scrape_Screenshots/Resetting your password_1.png new file mode 100644 index 00000000..3ddb669a Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Resetting your password_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Resolving sign-in errors_1.png b/Scripts/Auto_Scrape_Screenshots/Resolving sign-in errors_1.png new file mode 100644 index 00000000..21689313 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Resolving sign-in errors_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Resource Center_1.png b/Scripts/Auto_Scrape_Screenshots/Resource Center_1.png new file mode 100644 index 00000000..93851998 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Resource Center_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Returning an order_1.png b/Scripts/Auto_Scrape_Screenshots/Returning an order_1.png new file mode 100644 index 00000000..18974347 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Returning an order_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Returns FAQs_1.png b/Scripts/Auto_Scrape_Screenshots/Returns FAQs_1.png new file mode 100644 index 00000000..3c939118 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Returns FAQs_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Reviewing your trips_1.png b/Scripts/Auto_Scrape_Screenshots/Reviewing your trips_1.png new file mode 100644 index 00000000..c3580f8b Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Reviewing your trips_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Selecting your default navigation app_1.png b/Scripts/Auto_Scrape_Screenshots/Selecting your default navigation app_1.png new file mode 100644 index 00000000..1d0569fd Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Selecting your default navigation app_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Setting your password and turning on notifications_1.png b/Scripts/Auto_Scrape_Screenshots/Setting your password and turning on notifications_1.png new file mode 100644 index 00000000..43a66359 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Setting your password and turning on notifications_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Shopping & Delivery FAQs_1.png b/Scripts/Auto_Scrape_Screenshots/Shopping & Delivery FAQs_1.png new file mode 100644 index 00000000..544d410c Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Shopping & Delivery FAQs_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Shopping & Delivery overview_1.png b/Scripts/Auto_Scrape_Screenshots/Shopping & Delivery overview_1.png new file mode 100644 index 00000000..cfeb73ba Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Shopping & Delivery overview_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Shopping for items out of sequence_1.png b/Scripts/Auto_Scrape_Screenshots/Shopping for items out of sequence_1.png new file mode 100644 index 00000000..48875978 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Shopping for items out of sequence_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Signing out_1.png b/Scripts/Auto_Scrape_Screenshots/Signing out_1.png new file mode 100644 index 00000000..b4057873 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Signing out_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Spill cleanup information_1.png b/Scripts/Auto_Scrape_Screenshots/Spill cleanup information_1.png new file mode 100644 index 00000000..140d72db Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Spill cleanup information_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/State and local government notices_1.png b/Scripts/Auto_Scrape_Screenshots/State and local government notices_1.png new file mode 100644 index 00000000..116a1db6 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/State and local government notices_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/State by state alcohol certification information_1.png b/Scripts/Auto_Scrape_Screenshots/State by state alcohol certification information_1.png new file mode 100644 index 00000000..c2501519 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/State by state alcohol certification information_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Tips for a smooth checkout process_1.png b/Scripts/Auto_Scrape_Screenshots/Tips for a smooth checkout process_1.png new file mode 100644 index 00000000..a6b47831 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Tips for a smooth checkout process_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/Tips for accepting & rejecting substitutions using live chat_1.png b/Scripts/Auto_Scrape_Screenshots/Tips for accepting & rejecting substitutions using live chat_1.png new file mode 100644 index 00000000..9cd878d2 Binary files /dev/null and b/Scripts/Auto_Scrape_Screenshots/Tips for accepting & rejecting substitutions using live chat_1.png differ diff --git a/Scripts/Auto_Scrape_Screenshots/resources_api.js b/Scripts/Auto_Scrape_Screenshots/resources_api.js index b211b3dd..f44a1443 100755 --- a/Scripts/Auto_Scrape_Screenshots/resources_api.js +++ b/Scripts/Auto_Scrape_Screenshots/resources_api.js @@ -33,14 +33,14 @@ const getAllGroups = async (num) => { groupIds.push(res.data.data[i].id) } } - //await getAllGroups(page); + // await getAllGroups(page); } else { - // for (let i = 0; i < res.data.data.length; i++) { - // if (res.data.data[i].attributes.status == "live") { - // console.log(res.data.data[i].attributes.name) - // groupIds.push(res.data.data[i].id) - // } -// } + for (let i = 0; i < res.data.data.length; i++) { + if (res.data.data[i].attributes.status == "live") { + console.log(res.data.data[i].attributes.name) + groupIds.push(res.data.data[i].id) + } + } } }) .catch(err => { @@ -59,7 +59,7 @@ function loopIds(i) { } async function courseOverview(id, i, num) { - console.log("Course Overview Function") + // console.log("Course Overview Function") const activity = new Array(); const url = "https://walmart.northpass.com/app/courses/"; const browser = await puppeteer.launch(); @@ -71,6 +71,7 @@ async function courseOverview(id, i, num) { await browser.close(); } else { await page.setViewport({ width:390, height:844 }) + // await page.setUserAgent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3419.0 Safari/537.36'); await page.goto(course, { waitUntil: 'load', timeout: 0 }); @@ -80,32 +81,35 @@ async function courseOverview(id, i, num) { const resourcetitle = await page.evaluate(name => name.innerText, getXpath); console.log(resourcetitle) const resource = resourcetitle.trim(); - console.log(resource); + // console.log(resource); - await page.screenshot({path: `${resource}_1.png`, fullPage:true, headless:false}); + await page.screenshot({path: `${resource}_1.png`, fullPage:true, headless:"new"}); const hrefs = await page.$$eval('a', as => as.map(a => a.href)); var links = Object.entries(hrefs); links.forEach(([key, value]) => { var link = value; if (link.includes("activities") && (link.includes(id))) { + console.log("Activities Link") console.log(link); activity.push(link); } }); setTimeout(() => { - }, 5000); + }, 10000); uniqueLinks = [...new Set(activity)]; for (const link of uniqueLinks) { + num = num+1 const newlink = link+uid; + console.log("New Link: " + newlink) await page.setViewport({ width: 390, height: 844 }) await page.goto(newlink, { waitUntil: 'load', timeout: 0 }); - await page.screenshot({path: `${resource}_${num}.png`, fullPage: true, headless: false}); - //screenshots(newlink, resource, num, i); + await page.screenshot({path: `${resource}_${num}.png`, fullPage: true, headless:"new"}); + screenshots(newlink, resource, num, i); } await browser.close(); i++; diff --git a/Scripts/GoogleScripts/WildHealth_Assignments/Get_Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments/Get_Assignments.js deleted file mode 100644 index e5105eef..00000000 --- a/Scripts/GoogleScripts/WildHealth_Assignments/Get_Assignments.js +++ /dev/null @@ -1,84 +0,0 @@ -/* This function needs to run either once a day OR after a webhook that contains the course name. -Date range: 2/1/23 - 7/31/23 - -Order of operations: -- Parse Webhook, if course name == Coaching Certification, assignment == Practice Coaching Session 3 (PSA), -Activity name == Step 1: Practice Coaching Session 3 - Recording Upload -- GET List Assignments: https://api.northpass.com/v2/assignments/{assignment_uuid}/submissions -- GET Person https://api.northpass.com/v2/people/{uuid} - -Fill in columns: Date Submitted, Person's Name, Email, Assignment Name, Assignment Download Link. - - -UUIDS: -Activity: a94171bb-0184-433e-a62d-2b8c67ad196e -Course: 03bb0fa0-df1f-4f40-b550-b59b113fd79f -Assignment: a4e082a2-9416-4fdf-9ef6-a817e25d26ee -API Key: HWxj6VTNPwbc3WghFTPzr7SjE -*/ - -const sheet = SpreadsheetApp.getActiveSheet(); -const apiKey = "HWxj6VTNPwbc3WghFTPzr7SjE"; -var assign_uid = "a4e082a2-9416-4fdf-9ef6-a817e25d26ee" -let page = 0; - -function getAssignment() { - var sheet = SpreadsheetApp.getActiveSheet(); - var api_url = - 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; - Logger.log(api_url) - const settings = { - async: true, - crossDomain: true, - method: 'GET', - headers: { - accept: 'application/json', - 'X-Api-Key': apiKey - } - } - const sendMsg = UrlFetchApp.fetch(api_url, settings); - var apiResponse = sendMsg.getContentText(); - var parsedata = JSON.parse(apiResponse); - var data = parsedata["data"]; - if (data.length != 0){ - let rowArray = [] - for (item of data) { - var submit_date = item["attributes"]["created_at"]; - var person = item["relationships"]["person"]["data"]["id"]; - var download_link = item["links"]["download"]; - var person_url = 'https://api.northpass.com/v2/people/'+person; - const settings = { - async: true, - crossDomain: true, - method: 'GET', - headers: { - accept: 'application/json', - 'X-Api-Key': apiKey - } - }; - const sendMsg = UrlFetchApp.fetch(person_url, settings); - var uuidResponse = sendMsg.getContentText(); - var parsing = JSON.parse(uuidResponse); - var info = parsing["data"] - var full_name = info["attributes"]["full_name"]; - var email = info["attributes"]["email"]; - let rowArray = [submit_date, download_link, person, full_name, email]; - addToSheet(rowArray); - }; - } else { - - } - page++; - getAssignment(page); -}; - -function addToSheet(rowArray){ - var sheet = SpreadsheetApp.getActiveSheet(); - var lastRow = Math.max(sheet.getLastRow(),1); - - sheet.insertRowAfter(lastRow); - sheet.getRange(lastRow + 1, 1).setValue(rowArray[0]); - sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); - sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); - sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); -} \ No newline at end of file diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/.clasp.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/.clasp.json new file mode 100644 index 00000000..bbda4989 --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/.clasp.json @@ -0,0 +1 @@ +{"scriptId":"1lX_lzT7xRA-13vMq63ZPxBYj8fmz4UwgR403PV5juue1NW7sCi6NSWqq","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/WildHealth_Assignments_PSA1"} diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js new file mode 100644 index 00000000..1c514f2d --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js @@ -0,0 +1,87 @@ +/* This function needs to run either once a day OR after a webhook that contains the course name. +Date range: 2/1/23 - 7/31/23 + +Order of operations: +- Parse Webhook, if course name == Coaching Certification, assignment == Practice Coaching Session 3 (PSA), +Activity name == Step 1: Practice Coaching Session 3 - Recording Upload +- GET List Assignments: https://api.northpass.com/v2/assignments/{assignment_uuid}/submissions +- GET Person https://api.northpass.com/v2/people/{uuid} + +Fill in columns: Date Submitted, Person's Name, Email, Assignment Name, Assignment Download Link. + + +UUIDS: +Activity: a94171bb-0184-433e-a62d-2b8c67ad196e +Course: 03bb0fa0-df1f-4f40-b550-b59b113fd79f +Assignment: a4e082a2-9416-4fdf-9ef6-a817e25d26ee +API Key: HWxj6VTNPwbc3WghFTPzr7SjE +*/ + +const sheet = SpreadsheetApp.getActiveSheet(); +const apiKey = "HWxj6VTNPwbc3WghFTPzr7SjE"; +var assign_uid = "c6e05c41-082e-4027-9e2e-49d3c5a7c5a0" +let page = 1; + +function getAssignment() { + var sheet = SpreadsheetApp.getActiveSheet(); + for (let page = 1; page <= 50; page++) { + var api_url = + 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; + Logger.log(api_url) + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + } + const sendMsg = UrlFetchApp.fetch(api_url, settings); + var apiResponse = sendMsg.getContentText(); + var parsedata = JSON.parse(apiResponse); + var data = parsedata["data"]; + if (data.length != 0){ + let rowArray = [] + for (item of data) { + var submit_date = item["attributes"]["created_at"]; + var person = item["relationships"]["person"]["data"]["id"]; + Logger.log(person) + var download_link = item["links"]["download"]; + var person_url = 'https://api.northpass.com/v2/people/'+person; + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + }; + const sendMsg = UrlFetchApp.fetch(person_url, settings); + var uuidResponse = sendMsg.getContentText(); + var parsing = JSON.parse(uuidResponse); + var info = parsing["data"] + var full_name = info["attributes"]["full_name"]; + var email = info["attributes"]["email"]; + let rowArray = [submit_date, download_link, person, full_name, email]; + addToSheet(rowArray); + }; + } else { + + } + } + //page++; + //getAssignment(page); +}; + +function addToSheet(rowArray){ + var sheet = SpreadsheetApp.getActiveSheet(); + var lastRow = Math.max(sheet.getLastRow(),1); + + sheet.insertRowAfter(lastRow); + sheet.getRange(lastRow + 1, 1).setValue(rowArray[0]); + sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); + sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); + sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); +} \ No newline at end of file diff --git a/Scripts/GoogleScripts/WildHealth_Assignments/appsscript.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/appsscript.json similarity index 100% rename from Scripts/GoogleScripts/WildHealth_Assignments/appsscript.json rename to Scripts/GoogleScripts/WildHealth_Assignments_PSA1/appsscript.json diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/.clasp.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/.clasp.json new file mode 100644 index 00000000..71519127 --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/.clasp.json @@ -0,0 +1 @@ +{"scriptId":"1Z2Q8woLoLOVUUJe_HthEJ8M9a27-EpGVXGVDf4__qGTcC89q3EkDi7r1","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/WildHealth_Assignments_PSA2"} diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js new file mode 100644 index 00000000..ec458ecd --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js @@ -0,0 +1,84 @@ +/* This function needs to run either once a day OR after a webhook that contains the course name. +Date range: 2/1/23 - 7/31/23 + +Order of operations: +- Parse Webhook, if course name == Coaching Certification, assignment == Practice Coaching Session 3 (PSA), +Activity name == Step 1: Practice Coaching Session 3 - Recording Upload +- GET List Assignments: https://api.northpass.com/v2/assignments/{assignment_uuid}/submissions +- GET Person https://api.northpass.com/v2/people/{uuid} + +Fill in columns: Date Submitted, Person's Name, Email, Assignment Name, Assignment Download Link. + + +UUIDS: +Activity: a94171bb-0184-433e-a62d-2b8c67ad196e +Course: 03bb0fa0-df1f-4f40-b550-b59b113fd79f +Assignment: a4e082a2-9416-4fdf-9ef6-a817e25d26ee +API Key: HWxj6VTNPwbc3WghFTPzr7SjE +*/ + +const sheet = SpreadsheetApp.getActiveSheet(); +const apiKey = "HWxj6VTNPwbc3WghFTPzr7SjE"; +var assign_uid = "17c5917a-2ee6-4d9f-af89-5831282fc64b" +let page = 1; + +function getAssignment() { + var sheet = SpreadsheetApp.getActiveSheet(); + for (let page = 1; page <= 50; page++) { + var api_url = + 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; + Logger.log(api_url) + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + } + const sendMsg = UrlFetchApp.fetch(api_url, settings); + var apiResponse = sendMsg.getContentText(); + var parsedata = JSON.parse(apiResponse); + var data = parsedata["data"]; + if (data.length != 0){ + let rowArray = [] + for (item of data) { + var submit_date = item["attributes"]["created_at"]; + var person = item["relationships"]["person"]["data"]["id"]; + var download_link = item["links"]["download"]; + var person_url = 'https://api.northpass.com/v2/people/'+person; + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + }; + const sendMsg = UrlFetchApp.fetch(person_url, settings); + var uuidResponse = sendMsg.getContentText(); + var parsing = JSON.parse(uuidResponse); + var info = parsing["data"] + var full_name = info["attributes"]["full_name"]; + var email = info["attributes"]["email"]; + let rowArray = [submit_date, download_link, person, full_name, email]; + addToSheet(rowArray); + }; + } else { + + } + } +}; + +function addToSheet(rowArray){ + var sheet = SpreadsheetApp.getActiveSheet(); + var lastRow = Math.max(sheet.getLastRow(),1); + + sheet.insertRowAfter(lastRow); + sheet.getRange(lastRow + 1, 1).setValue(rowArray[0]); + sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); + sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); + sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); +} \ No newline at end of file diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/appsscript.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/appsscript.json new file mode 100644 index 00000000..3cf1d247 --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/appsscript.json @@ -0,0 +1,7 @@ +{ + "timeZone": "America/New_York", + "dependencies": { + }, + "exceptionLogging": "STACKDRIVER", + "runtimeVersion": "V8" +} \ No newline at end of file diff --git a/Scripts/GoogleScripts/WildHealth_Assignments/.clasp.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json similarity index 74% rename from Scripts/GoogleScripts/WildHealth_Assignments/.clasp.json rename to Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json index f006863e..66c1beac 100644 --- a/Scripts/GoogleScripts/WildHealth_Assignments/.clasp.json +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json @@ -1 +1 @@ -{"scriptId":"1W9jVjAVjIivO2sj1flvoofftiZ4v0BgAMD_RPBsSTGZBcedPN_DUEW7m","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/WildHealth_Assignments"} +{"scriptId":"1W9jVjAVjIivO2sj1flvoofftiZ4v0BgAMD_RPBsSTGZBcedPN_DUEW7m","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/WildHealth_Assignments_PSA3"} diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js new file mode 100644 index 00000000..0e5766cc --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js @@ -0,0 +1,84 @@ +/* This function needs to run either once a day OR after a webhook that contains the course name. +Date range: 2/1/23 - 7/31/23 + +Order of operations: +- Parse Webhook, if course name == Coaching Certification, assignment == Practice Coaching Session 3 (PSA), +Activity name == Step 1: Practice Coaching Session 3 - Recording Upload +- GET List Assignments: https://api.northpass.com/v2/assignments/{assignment_uuid}/submissions +- GET Person https://api.northpass.com/v2/people/{uuid} + +Fill in columns: Date Submitted, Person's Name, Email, Assignment Name, Assignment Download Link. + + +UUIDS: +Activity: a94171bb-0184-433e-a62d-2b8c67ad196e +Course: 03bb0fa0-df1f-4f40-b550-b59b113fd79f +Assignment: a4e082a2-9416-4fdf-9ef6-a817e25d26ee +API Key: HWxj6VTNPwbc3WghFTPzr7SjE +*/ + +const sheet = SpreadsheetApp.getActiveSheet(); +const apiKey = "HWxj6VTNPwbc3WghFTPzr7SjE"; +var assign_uid = "a4e082a2-9416-4fdf-9ef6-a817e25d26ee" +let page = 1; + +function getAssignment() { + var sheet = SpreadsheetApp.getActiveSheet(); + for (let page = 1; page <= 50; page++) { + var api_url = + 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; + Logger.log(api_url) + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + } + const sendMsg = UrlFetchApp.fetch(api_url, settings); + var apiResponse = sendMsg.getContentText(); + var parsedata = JSON.parse(apiResponse); + var data = parsedata["data"]; + if (data.length != 0){ + let rowArray = [] + for (item of data) { + var submit_date = item["attributes"]["created_at"]; + var person = item["relationships"]["person"]["data"]["id"]; + var download_link = item["links"]["download"]; + var person_url = 'https://api.northpass.com/v2/people/'+person; + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + }; + const sendMsg = UrlFetchApp.fetch(person_url, settings); + var uuidResponse = sendMsg.getContentText(); + var parsing = JSON.parse(uuidResponse); + var info = parsing["data"] + var full_name = info["attributes"]["full_name"]; + var email = info["attributes"]["email"]; + let rowArray = [submit_date, download_link, person, full_name, email]; + addToSheet(rowArray); + }; + } else { + + } + } +}; + +function addToSheet(rowArray){ + var sheet = SpreadsheetApp.getActiveSheet(); + var lastRow = Math.max(sheet.getLastRow(),1); + + sheet.insertRowAfter(lastRow); + sheet.getRange(lastRow + 1, 1).setValue(rowArray[0]); + sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); + sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); + sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); +} \ No newline at end of file diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/appsscript.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/appsscript.json new file mode 100644 index 00000000..3cf1d247 --- /dev/null +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/appsscript.json @@ -0,0 +1,7 @@ +{ + "timeZone": "America/New_York", + "dependencies": { + }, + "exceptionLogging": "STACKDRIVER", + "runtimeVersion": "V8" +} \ No newline at end of file