Created
September 17, 2020 01:13
-
-
Save iaindooley/3a978b07b753f6bc8c94d0d25c36556b to your computer and use it in GitHub Desktop.
Extract DB files
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 parseDbFileSomehow() | |
{ | |
//Is it a CSV? Tab delimited? | |
//Use Google Drive API to getBlob() and parse into lines | |
return file_lines; | |
} | |
function createCards() | |
{ | |
var lines = parseDbFileSomehow(); | |
var target_list = new Trellinator().board("My Board").list("Inbox"); | |
for(var i = 0;i < lines.length;i++) | |
{ | |
Card.create(target_list,{name: lines[0],desc: lines[1]});//replace with your actual format | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment