Started the reorganization of Scripts for github. Some notes changes.

This commit is contained in:
Norm Rasmussen
2023-05-04 16:07:06 -04:00
parent 6a674ca24b
commit 18a266746b
209 changed files with 121 additions and 12181 deletions

View File

@ -11,10 +11,10 @@
}
</script>
{% comment %} <script> window.intercomSettings = { app_id: "hal1rveh" }; </script>
<script>
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/hal1rveh';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
{% comment %} <script> window.intercomSettings = { app_id: "hal1rveh" }; </script>
<script>
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/hal1rveh';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
<style> .intercom-lightweight-app-launcher { float: right; bottom: 45px !important; margin-right: 40px; } </style> {% endcomment %}
<style>
@ -23,4 +23,13 @@
body {
font-family: "Barlow", sans-serif !important;
}
</style>
</style>
<script type="text/javascript">
if ( window.location !== window.parent.location ) {
} else {
document.addEventListener('DOMContentLoaded', function(event) {
const header = document.getElementById("header_g2");
header.style.display = "flex";
})
}
</script>

View File

@ -1,4 +1,4 @@
{%comment%}<header class="np-header np-header-color">
<header class="np-header np-header-color" id="header_g2">
<div class="np-header-content">
<div class="np-hidden-desktop np-header-mobile-menu-nav">
{% if current_person.signed_in? %}
@ -238,7 +238,6 @@
</div>
</div>
</div>
{% endcomment %}
{% include "messages" %}
<style>

View File

@ -0,0 +1,14 @@
<div class="np-learning-paths-resources">
{% if items.any? %}
{% for learning_path in items %}
{% include "cards_learning_path" with learning_path %}
{% endfor %}
{% else %}
<div class="np-learning-paths-resources-container">
<div class="np-zero-state-text">
Stay tuned for Learning Paths!
</div>
<img class="np-zero-state-learning-paths" alt="{% t .empty %}" />
</div>
{% endif %}
</div>

View File

@ -1,7 +1,8 @@
<nav class="np-sub-navigation">
<div class="np-sub-navigation-content">
{% for link in navigations.sub_navigation %}
{% unless link.label == 'Learning Paths' %}
{% comment %} {% unless link.label == 'Learning Paths' %} {% endunless %} The End Unless usually goes right above
the endfor, on line 7.{% endcomment %}
<div class="np-sub-navigation-content-item {{ link.active_class }}">
<a class="np-sub-navigation-content-item-link" href="{{ link.url }}">
<i class="{{ link.icon }} np-button-color np-sub-navigation-content-item-icon"></i>
@ -9,7 +10,6 @@
</a>
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
</div>
{% endunless %}
{% endfor %}
</div>
</nav>

View File

@ -1,4 +1,4 @@
{% comment %} {% include "header" %} {% endcomment %}
{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
<main class="np-main np-homepage">
@ -50,7 +50,7 @@
.np-homepage-hero .np-homepage-headline {
font-size: 35px;
line-height: 45px;
font-weight: 800;
font-weight: 800;
margin:10px auto 30px;
}
@ -93,7 +93,7 @@
.np-homepage-hero .np-homepage-headline {
font-size: 55px;
line-height:72px;
font-weight: 800;
font-weight: 800;
}
.np-homepage-hero .np-homepage-subheadline {

View File

@ -0,0 +1,64 @@
i
<p align="center"> I write scripts for clients and apps for myself. </p>
## Current Work Stack
| System | Languages & IDE | Documentation | Communication | Data Analysis |
|---|----|----|----|-----|
| ![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0) | ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) ![Neovim](https://img.shields.io/badge/NeoVim-%2357A143.svg?&style=for-the-badge&logo=neovim&logoColor=white) ![Markdown](https://img.shields.io/badge/markdown-%23000000.svg?style=for-the-badge&logo=markdown&logoColor=white) ![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white) | ![Confluence](https://img.shields.io/badge/confluence-%23172BF4.svg?style=for-the-badge&logo=confluence&logoColor=white) | ![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white) | ![Datadog](https://img.shields.io/badge/datadog-%23632CA6.svg?style=for-the-badge&logo=datadog&logoColor=white) ![Pandas](https://img.shields.io/badge/pandas-%23150458.svg?style=for-the-badge&logo=pandas&logoColor=white) ![Looker](https://img.shields.io/badge/google-4285F4?style=for-the-badge&logo=google&logoColor=white)(Looker) |
## Homelab
| OS |
|---|----|
| ![Debian](https://img.shields.io/badge/Debian-D70A53?style=for-the-badge&logo=debian&logoColor=white) ![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge&logo=ubuntu&logoColor=white) |
Languages | Tinkering |
![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) | ![Arduino](https://img.shields.io/badge/-Arduino-00979D?style=for-the-badge&logo=Arduino&logoColor=white) ![Raspberry Pi](https://img.shields.io/badge/-RaspberryPi-C51A4A?style=for-the-badge&logo=Raspberry-Pi) |
![Linux Mint](https://img.shields.io/badge/Linux%20Mint-87CF3E?style=for-the-badge&logo=Linux%20Mint&logoColor=white)
![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white)
![Grafana](https://img.shields.io/badge/grafana-%23F46800.svg?style=for-the-badge&logo=grafana&logoColor=white)
![Home Assistant](https://img.shields.io/badge/home%20assistant-%2341BDF5.svg?style=for-the-badge&logo=home-assistant&logoColor=white)
![Jellyfin](https://img.shields.io/badge/jellyfin-%23000B25.svg?style=for-the-badge&logo=Jellyfin&logoColor=00A4DC)
![Mosquitto](https://img.shields.io/badge/mosquitto-%233C5280.svg?style=for-the-badge&logo=eclipsemosquitto&logoColor=white)
![Pi-Hole](https://img.shields.io/badge/pihole-%2396060C.svg?style=for-the-badge&logo=pi-hole&logoColor=white)
![Prometheus](https://img.shields.io/badge/Prometheus-E6522C?style=for-the-badge&logo=Prometheus&logoColor=white)
![Wireguard](https://img.shields.io/badge/wireguard-%2388171A.svg?style=for-the-badge&logo=wireguard&logoColor=white)
![Zigbee](https://img.shields.io/badge/zigbee-%23EB0443.svg?style=for-the-badge&logo=zigbee&logoColor=white)
![Nginx](https://img.shields.io/badge/nginx-%23009639.svg?style=for-the-badge&logo=nginx&logoColor=white)
![Mastodon](https://img.shields.io/badge/-MASTODON-%232B90D9?style=for-the-badge&logo=mastodon&logoColor=white)
![Gitea](https://img.shields.io/badge/Gitea-34495E?style=for-the-badge&logo=gitea&logoColor=5D9425)
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)
![InfluxDB](https://img.shields.io/badge/InfluxDB-22ADF6?style=for-the-badge&logo=InfluxDB&logoColor=white)
![Next Cloud](https://img.shields.io/badge/Next%20Cloud-0B94DE?style=for-the-badge&logo=nextcloud&logoColor=white)
![Shell Script](https://img.shields.io/badge/shell_script-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white)
![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)
![Cloudflare](https://img.shields.io/badge/Cloudflare-F38020?style=for-the-badge&logo=Cloudflare&logoColor=white)
![Node-RED](https://img.shields.io/badge/Node--RED-%238F0000.svg?style=for-the-badge&logo=node-red&logoColor=white)
![Jinja](https://img.shields.io/badge/jinja-white.svg?style=for-the-badge&logo=jinja&logoColor=black)
![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge&logo=flask&logoColor=white)
<p align="center">
<a href="https://wakatime.com/@f29059de-6af3-42de-89a9-ea9b77dc181c"><img src="https://wakatime.com/badge/user/f29059de-6af3-42de-89a9-ea9b77dc181c.svg" alt="Total time coded since Jan 29 2021" /></a>
</p>
<p align="center">
<a href="https://github-readme-stats.vercel.app/api?username=Normanras&show_icons=true&theme=dark&layout=compact"><img style="center" width="500px" src="https://github-readme-stats.vercel.app/api?username=Normanras&show_icons=true&theme=dark&layout=compact"/></a>
</p>
<p align="center">
<a href="https://wakatime.com"><img style="width: 400px" src="https://wakatime.com/share/@Normanras/918cf113-ecd6-4203-997b-dcadfc9b53a9.png" /></a>
<a href="https://wakatime.com"><img style="width:400px" src="https://wakatime.com/share/@Normanras/1f9e0356-eb36-4f30-ad60-9b57fa05d571.png" /></a>
</p>
</div>

View File

@ -1,77 +0,0 @@
# Flink
## Tasks
- [X] Need to Hide some courses for an offline assesment
- [-] In person assesment, so score must be hidden - pending not resolved
- [-] contact SE for hiding score - 7 quizzes across 7 different courses
- [X] Turn on search bar for them
- [X] Demo Workflows
- [X] Quiz as Survey functionality and best practices
- [X] Milestones?
- [X] Intro to Marek for Communications Beta
- [X] Map out workflow for duplicate or changing email addresses
- [X] Intro to Clementine and Simon
- [X] Intro to KJ for Analytics changes?
- [X] ILTs are the most important from Netherlands meeting
- [X] Map their categories presentation to Northpass best practices
- [X] Move course to Sandbox for testing - test many courses in carousel
- [X] TESTING / Rider Onboarding - DE (ENG)
- [X] And then 5-6 others at random
- [X] Change Collapsible Menu
- [X] Course Scripts
- [X] Articles > Help Center
- [X] Move Contact to the bottom: Contact, Profile Settings, Sign out
- [X] Rider App
- [X] Add Language Buttons such as in Canva (top right)
* [ ] This is a task #1
* [ ] This is another task #2
* [ ] This is a sub task! #3
* [ ] Here is another task. #4
### Notes
New app launch during July, workforce support
These support apps will have links to Northpass
Customizable HTML web page
With learning paths courses are more sustainable
LP good for grouping certain content
How about setting up a certain groups
They are rethinking groups and need to transition their group hierarchy
Advised to start at the highest level and most broad groups, then add people to "sub groups" to get more specific questions
Figma file questions
They need more training and enablement They will follow up for Figma files and setting those up for design
THIS IS NEW TEXT AS A TEST!!!!
## 10/13/2022
* Soner to work on communications plan and roll out
*
## 10/14/2022
These are new notes to test an update function
* Item 1
* Item 2
* Item1.2.3
* Item 3
* Item 4
* Item Item
## 11/14/2022
### Meeting Heading: Topics for discussion
* This is an item
* This is another item
* Here are some things that need to be done:
* Item 1
* Item 2
* Item 3
* Discussion points
* More discussion points
-
### New Heading
This is more text
This is yet again more text but longer
* To do item
* To Three item

View File

@ -1,103 +0,0 @@
# JJSV
** Think Boutique when considering the style **
## Todos
- [X] Channel Cards should say 33% viewed not complete
- [X] Add timing to activity titles (Melinda)
- [X] Add timing to channel card (Northpass)
- [X] Challenging Case Content, split into different courses
- [X] Dont share SCORM course Phaco Funds with Dr. Sam Garg
- [X] My Topics - changing to what?
- [X] All Channels should be All Topics
- [X] Learning Paths >> Programs
- [X] All other topics >> Modules
- [X] Remove Zero_course function/codeblock
- [X] Add copy and all contents to footer
- [X] Check on viva code for legal
- [X] Grey scale certain pictures that are not availble to non-logged in users
- [X] Add privacy links to reg page
- [X] For non-logged in, Events and My Topics should not be availble
- [X] Melinda to provide links to privacy policy, cookie, etc
- [X] Name, Email, Company Practice Name, City, State, Country, Role Section, ADDITIONAL: Specialty,
- [X] Ask Marek about newsletter communiciations and if we can segment by certain groups or people
- [X] See if we can expand the number of Properties
- [X] State, Region, City, are all needed Properties
- [X] If we need to back off on card content properties (course properties, such as time)
* [X] Programs > Bummer, you're not part of any programs
* [X] Other Topics > Yikes! You aren't accessing any any modules
* [X] Ping Tigue regardig
Events should be figured out by our demo -
* [X] Add featured content spotlight box that moves the 4 boxes down
* [X] Can we showcase videos on the main page with a little modal?
* [X] Add all groups as per Kaitlyn's info
* [X] Wants to start putting in content by the 15th August.
* [X] Create and send document for Melinda's instructions to add categories.
* [X] Delete all courses and everything from Media Library
* [X] Let Melinda know when clean state has been achieved
* [X] Create documentation for categories & adding courses to groups - understand catalog vs. groups
* [-] Update Smartsheet by moving all Phase II projects to new heading
* [X] New Footer: all About (minus Products/DO)
* [X] Useful Links - JJ vision Pro, Contact Us, JJI, YouTube
* [X] Legal Allyson
* [-] Legal Notice needs to change
* [ ] Contact us should go to a FORM not an email - remove link all together for now make it inactive
* [ ] Opt out for emails - Comms Changes
* [X] This cant be $250,000k total for global academy
* [X] AMER - is LatAm, Ameica, Canada
* [X] ASIAPAC - NZ, AU, All of Asia
* [X] Europe is Europe
In person events should change register button to "remind me"
Melinda will then add the 3rd party links into the event description
Figure out events setup
### Notes
Customer base: residents, fellows, surgeons, optometrists, opthamologists
Chapter Content
Registrations will be a link that Melinda will manager
### 7/18/2022
Role is what will decide what content they have more than region or location
Content is by role
Events is by State
It isn't even primary speciality
Once the error is fixed on the form, K will let M know to test
Events are tied to... course or group
But if we have a group per state,
Are we also creating groups around role, not primary speciality
When loading an event, event should select between both groupings - a Texas Opthamologist
She needs granuar control, she may not want to invite students or fellows
Or a residency event and not invite opthamlogists
Other one:
How do we differentiate from "all"?
For Americas, LatAm, Canada, and USA might have different courses
This is ONLY for the US
## 10/03/2022
* [-] CREATE a storyboard PPT of the UX of the academy
* [ ] Remove all links along the top of the footer
* [ ] Cookie/Legal should link to Northpass' Policy
* [ ] Contact Us should be un-clickable
* [ ] Add how to edit properties and links in the Documentation
* [ ] Backspace Professional Events
* [ ] Product Inforation should be: "Learn about Johson & Johnson's Technology Offerings"
## 10/10/2022
* [ ] Footer - make red text NOT red
* [ ] Grey Footer, change 2021 to 2022
* [ ] Have Kaitlyn rearrange the tiles on the main page
* [ ] Currently: Events, Explore, Product, My Topics
* [ ] Proposed: Events, My Topics, Product, Explore
* Tigue asked some questions.
* During the registration process, can Company Practice Name have a suggestion that pulls from Google Search?
* No, well maybe. Google is too expansive. We need a refined data set. She pinged Tigue, who may reach out
* Talk and brainstorm about possiblities to refine the data that the search pulls from
* New Site launched One Vision. Pro site. It says "Interact" at the top of the dashboard. Onevision.prointeract.com.
* Melinda called it a "show pad". https://www.prointeract.com/#mousescroll
* Internal training site? CMS? Hard to tell. But it has a folder for sales training. It looks just like a list of files and resources.

View File

@ -1,99 +0,0 @@
## 8/25/22
**3 Points for our Meeting:**
* Analytics
* First back to school season, in October post-mortem report on how year one went
* Wants to discuss data points that would lead to ROI and KPI
* Survey or NPS scores
* Email other important metrics for analysis
* These numbers are very low compared to the number of people invited
* The number of groups is the number of total invited groups/clients
* People can opt out,
**Flow:**
1. Auto email goes out with a description of how to get into the academy
2. No one clicks
3. 110 clients have been invited and each client is a districts
4. Each district could be 2 people or 30 people
5. Are they enabling their distcits to forward the emails along?
### Custom Reports
**Requested Data in Reports:**
* Group Name + Created + Members
* List of People not Necessary
* Back to School Season needs it Weekly
* Last week of July to Last week of September
* Friday Morning Delivery
* No Group ID
> Overall goal is spending less time in live trainings with small districts (<$50,000)
> This time last year, 35% of trainings were spent with small accounts
> This year, 26%! A 10% change.
115 actually did training, ~350 hours
This is just training time, hours for travel and planning isnt' factored in
This has been successful now and is positioning for something better in the future
Idea has been floated to sell stuff in the future. No timeline or roadmap for this.
Low enrollments because District Contact invites teachers to the platform
Larson isn't in control of the communications
Might be more comfortable a year from now helping with that
It is a sticking point to be in control of teacher's emails and contacts
**Other ideas:**
* SSO for their district
* BigIdeasMath.com is where learner's sign in right now
* Can we consolidate a single authentication method?
* Integrations with:
** Salesforce, Hubspot, Pendo, No BI Tool
**Next 6-8 Months:**
* Back to school "ends" mid-September
* Oct-December - Focus on Sales
* Jan - Mar - Continued Sales
* Launching new product segment, Elementary
* Launched & Begin Sales Fall 2022
* Implemented 2023
* Trained by April 2023
* Development of Resources in February 2022
* April is "next year" of Northpass
* Integrations, Design, and any other changes should be completed by April of 2023
* Wait until November for New Conversations
## 9/8/22
* They need to train sales people on the new product
* And all other employees later in the future, mostly customer-facing employees
* Combo of live meetings & LMS
* They also need to train their partner, Geographic Learning
* Throwing around the idea of using Northpass for this
* GL needs accountability - share recording, small quiz, check they are done
* Can we use sales training and track actual sales?
* Add ammo for Sophia's case
* Workflow: attend the live session > Test knowledge >
* [X] /app/course, change text to: "Courses | Great Courses from the comfort of your home or classroom."
* [X] Add personalized message to /app.
## 9/22/22
* Takes a course > single question:
* Did you attend live training on {date}?
* If yes --> Free form course, review material, No quiz (resource)
* If no --> Milestones, videos, and quiz
* There are weekly trainings, that are live
* If they don't attend that, they need to do asynchronous training
* She wants to do scheduled release of sections, but a course per update might make more sense.
## 10/20/2022
*New Product Launch*
* Big sales training on this product happened
* They have recordings and bi-weekly follow up documents of all this new product knowledge
* She was hoping to put it into Northpass, but her VP said there is "information overload" and they need to simplify everything.
* Initiative fatigue in the company
* A big barrier is getting people into Northpass. Setting expectations to have them login to a new system makes it feel like another "task" for employees to do.
* So putting it in Sharepoint makes it "a resource" for employees to access on-demand.
* One of the challenges that Sophia is facing is the registration process for customers.
* Two things she wants to focus on next:
* Short term: Registration process is really messy. Authentication isn't clean for learner
* Long term:

View File

@ -1,98 +0,0 @@
# Talkspace
## 06/28/2022
Talkspace Call - 6/28/22
Training Call for Madison & Marlene
Invite Ummey
Molly optional
Worse case in deleting and recreating the course
Many people with 75% of the course
416 tickets of people with errors
52 people completed the learning path
Rest of comments are around the harrasment and cyber course
Would new ones work better? Not guaranteed
Understanding from Norm:
Who is in charge of all courses?
William Bell (Kipp)
Cyber Security
Harrasment showing 100% in NP
Not in BBHR
CS: still due
Harrasment: Still due
Contact Patrycja
Amanda Corriveau - she needs admin access to BBHR/NP but shouldn't be able to access Course Marketplace
Both need BBHR to connect courses, Molly in 2nd instance
Molly should not have access to course Marketplace
[ ] - Ratings for internal use only, once someone rates, the rating disappears
[ ] - Can we bring in opensesame ratings as well?
## 7/12/2022
500 errors tickets from people
Test out the new learning paths from Ummey's email and check that they work
August 1st goal of completeing the new courses
Especially the Cultural Competency course
Internal service errors keep happening
As early as last week
We need options for outside of the learning path
Learning Paths - two other schools are not having learning paths errors
Molly needs help with: anyone who is not at 100% (for CA and non-CA) Compliance July and CA July the LP on dashboard needs to be removed. This way they don't get assigned a new one and then take the old one.
- [X] Pull analytic and bulk remove the LP from those people
Can a learner self-select their role? Separate comms for each group?
Comms each group are necessary
They shouldn't need to switch groups once in this
Pre registrations
Non CA link, 740 attempted learning path
And 500 complete (this is a good number)
160 have completed 75% (top 3 courses)
50% would be fraud & hippaa
Molly wants to try... 500 people get a message saying "you're going to see messages, please ignore"
160 get invited to a group with the remaining courses
- 8/26/2022
- They are going to pay everyone no matter if they completed courses or not
- We need to SHUT DOWN Courses without losing all this data
* [ ] Pull master Spreadsheet of Learning Paths, MCA
- For Learning Paths, Compliance 2022, Cross Culture, April Learning Path, June Learning Path, July Learning Path
- Deadline for shutting down courses: Tuesday, August 30
- Molly told steve he's worked with a lot of homegrown LMS that were a pain to use
## 9/21/2022
* Overall, things are going well!
* Ensure the button color change gets changed
* QMC Audit, training audit by third party for training completed
* Rebecca Jewel, to reach out to Virun, Chief Medical Officer for this audit
## 10/11/2022
* [ ] Update 2022 to 2023 on the main dashboard page - Update now
* [ ] After someone finishes the 1099 courses, they will then reach the Compliance Group/courses. The 1099 courses should not be seen.
* [ ] Send Molly options for hiding the 1099 courses. Workflows to unenroll? Hide courses not in the group?
* No date set for rolling out 2023 - sometime in January
* Molly will set up and then Test internally, possibly ask us to test as well?
* Wants to know if we can combine Looks in Looker for data
* Needs to combine Northpass data with their data. They want to look in Looker at which 1099 has not clicked a link. Basically, they need to compare a Northpass list of enrolled learners with a list of Talkspace 1099s that have recieved an email.
## 10/11/2022
### Meeting with Emile from Bellweather
* Ask Ummey if activitiy specific information would be helpful?
* Currently they are pulling learning path data
*
## 08/04/2022
### Meeting with OpenSesame re: SCORM files
* Possibly missed events!
* Opensesame only sends complete/incomplete - values could be 0 or 1, or whatever the cmi.core.value are
* Communicated via API
* RPX now is OS' social sign on and SSO communication
* Osano is used by OS but not sure how it would factor in

View File

@ -4,8 +4,8 @@ from pathlib import Path
import Apikeys
import os
basefile = "/Users/normrasmussen/Downloads/mizuno-monthly-completions.csv"
api_key = Apikeys.mizuno
basefile = "/Users/normrasmussen/Downloads/Recast-learners.csv"
api_key = Apikeys.recast
uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]="
prop_url = "https://api.northpass.com/v2/properties/people/"
headers = {
@ -30,16 +30,12 @@ def load_file(basefile):
response = requests.get(url, headers=headers)
if response.status_code == 200:
response = response.json()
print(response)
uuid = response["data"][0]["id"]
print(uuid)
url2 = prop_url + f"{uuid}"
response = requests.get(url2, headers=headers)
data = response.json()
pgaid = data["data"]["attributes"]["properties"]["account_number"]
row_dict["pgaid"] = pgaid
elif response.status_code == 404:
row_dict["pgaid"] = "User Not Found"
dict_list.append(row_dict)
print("No errors! Passing along the dictionary!")
except KeyError as e:

View File

@ -2,8 +2,8 @@ import requests
import pandas as pd
import Apikeys
csv = "/Users/normrasmussen/Downloads/Recast-learners.csv"
apiKey = Apikeys.skuid
csv = "/Users/normrasmussen/Downloads/client-learners.csv"
apiKey = Apikeys.client
baseUrlemail = "https://api.northpass.com/v2/people?filter[email][eq]="
@ -37,11 +37,8 @@ def getfromEmail(emails, baseUrlemail, apiKey, data):
else:
print("Another Error!")
# print(email_ids)
data["uuid"] = data["email"].map(email_ids)
data.dropna(how='any', inplace=True)
# print(data)
# print(errors)
assignProps(data, apiKey)
errorstoCsv(errors)
@ -49,7 +46,7 @@ def getfromEmail(emails, baseUrlemail, apiKey, data):
def errorstoCsv(errors):
errorcsv = pd.DataFrame(errors)
errorcsv.to_csv(
path_or_buf="/Users/normrasmussen/Downloads/Talkspace_Emails_Not_Northpass.csv",
path_or_buf="/Users/normrasmussen/Downloads/Emails_Not_Northpass.csv",
index=False
)

View File

@ -4,8 +4,8 @@ from pathlib import Path
import Apikeys
import os
basefile = "/Users/normrasmussen/Downloads/Recast-learners.csv"
api_key = Apikeys.recast
basefile = "/Users/normrasmussen/Downloads/client-learners.csv"
api_key = Apikeys.client
prop_url = "https://api.northpass.com/v2/properties/people/"
headers = {
"accept": "*/*",
@ -45,7 +45,7 @@ def load_file(basefile):
completions.loc[completions.index[row], "Company"] = comp
print(completions)
completions.to_csv(
"/Users/normrasmussen/Downloads/Recast_learners_w_Company.csv",
"/Users/normrasmussen/Downloads/client_learners_w_Company.csv",
index=False
)

View File

@ -1,7 +1,7 @@
import requests
import Apikeys
apiKey = "84GO7zb7a990UJrnFJqiYcd0m"
# Skuid's API
apiKey = Apikeys.client
def getallUuid(apiKey):

View File

@ -1,13 +1,12 @@
import requests
import pandas as pd
import Apikeys
baseCsv = "/Users/normrasmussen/Downloads/Incomplete list for NP monthly communcation 12.19.22 - Users.csv"
baseCsv = "/Users/normrasmussen/Downloads/Incomplete list of Users.csv"
baseUrl = "https://api.northpass.com/v2/people/"
baseUrlname = "https://api.northpass.com/v2/people?filter[name][eq]="
baseUrlemail = "https://api.northpass.com/v2/people?filter[email][eq]="
# apiKey = "JRDpCGQ7vSRiva6t5OkWDr5eJ" # G2
# apiKey = "6hUfJdAartHTHhHc0WIRZYPWe" #Walmart
apiKey = "84GO7zb7a990UJrnFJqiYcd0m" # Skuid's API
apikey = Apikeys.client
def getfromEmail(baseUrlemail, baseCsv, apiKey):

View File

@ -3,6 +3,10 @@ import requests
import Apikeys
'''
This file is mostly used for random testing of unknown endpoints, like our V1 endpoints.
'''
# url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths"
# url = "https://api.northpass.com/v1/media?limit=1"
# url = "https://api.northpass.com/v1/learning_paths"

View File

@ -1,6 +1,7 @@
import requests
import Apikeys
apiKey = "Bknf8kidbluRfcKu3m3lKoxS8"
apiKey = Apikeys.client
groups = [
"Armonk",
"Babylon",

View File

@ -24,7 +24,7 @@ for group in groups_to_create:
payload2.append({"name": group})
payload = {"data": {"attributes": {"groups": payload2}}}
# print(payload)
response = requests.post(url, json=payload, headers=headers)
print(response.text)
print(response)
print(payload)
# response = requests.post(url, json=payload, headers=headers)
# print(response.text)
# print(response)

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More