const TRELLO_APP_KEY = "***REMOVED***"; // Scrumble App Key

export default class Trello {
  static getLoginURL = () => {
    return "https://trello.com/1/authorize?" +
      `key=${TRELLO_APP_KEY}&` +
      "expiration=never&" +
      "name=Daily%20Scrum&" +
      "return_url=dailyscrum://login&" +
      "scope=read,account";
  };

  static getUser = token => {
    return fetch(`https://api.trello.com/1/members/me?fields=fullName&boards=all&board_fields=name&key=${TRELLO_APP_KEY}&token=${token}`)
      .then(res => res.json());
  };
}

@@ -532,11 +532,190 @@
 ));%0A  %7D;
+%0A%0A  static getBoard = (token, id) =%3E %7B%0A    return fetch(%60https://api.trello.com/1/boards/$%7Bid%7D?fields=all&key=$%7BTRELLO_APP_KEY%7D&token=$%7Btoken%7D%60)%0A    .then(res =%3E res.json());%0A  %7D;
 %0A%7D%0A

Add Trello get board route