Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jeremypage/1bb39d3e370125134b3f to your computer and use it in GitHub Desktop.

Select an option

Save jeremypage/1bb39d3e370125134b3f to your computer and use it in GitHub Desktop.

Revisions

  1. @andyburnett andyburnett created this gist Nov 9, 2014.
    12 changes: 12 additions & 0 deletions Trello to Google Spreadsheet
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    temp1 := ZnEasy get: 'address in here'.

    trello := NeoJSONReader fromString: temp1 entity.
    trelloLists := trello at:'lists'.
    trelloCards := trello at:'cards'.
    trelloLists do: [ :each|| listId |

    listId := each at:'id'.
    each at:'cards' put: ((trelloCards select:[:item|(( item at:'idList')=listId)])collect:[:item| item at:'name']).
    ].

    trelloLists do: [ :each| Transcript show: (each at: 'name'); cr. ((each at: 'cards')do:[:item| Transcript tab; show: item;cr])].