Created
February 28, 2021 22:16
-
-
Save camtheman256/3125e18ba20e90b6252678714e5102fd to your computer and use it in GitHub Desktop.
Export when2meet data from JS console
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
function exportData() { | |
const peopleMap = {}; | |
for(let i = 0; i < PeopleIDs.length; i++) { | |
peopleMap[PeopleIDs[i]] = PeopleNames[i]; | |
} | |
nameAtSlot = AvailableAtSlot.map(e => e.map(i => peopleMap[i])); | |
timedNames = TimeOfSlot.map((e, i) => [e, nameAtSlot[i]]); | |
return JSON.stringify(timedNames); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FWIW when2meet also seems to support (at least now), a
csv
query param that will serve the data as CSV (though transposed from the versions above here in the gist).Example: filled in a couple of peoples' responses in https://www.when2meet.com/?24892637-Evxyx and can get the CSV with a simple request (note the trailing
&csv
):