gatsby-source-trello

1.0.10 • Public • Published

Gatsby Source From Trello Board.

npm MIT license Source plugin for pulling data into Gatsby from Trello using team.

Install

 npm install --save gatsby-source-trello

How to use

Use organization id or name for fetching data from the Trello API.

// In your  gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-source-trello',
    options: {
      teamId: `your_team_id/name`,
      apiKey: `your_trello_access_token`,
      secret: `your_trello_secret`
    }
  },
]

How to query

It creates 3 different nodes: TrelloBoard , TrelloList, TrelloCard

Querying all boards

{
  allTrelloBoard {
    edges {
      node {
        id
        name
      }
    }
  }
}

Querying all lists

{
  allTrelloList {
    edges {
      node {
        id
        name
      }
    }
  }
}

Querying all cards

{
  allTrelloCard {
    edges {
      node {
        id
        name
      }
    }
  }
}

Package Sidebar

Install

npm i gatsby-source-trello

Weekly Downloads

0

Version

1.0.10

License

ISC

Unpacked Size

31.3 kB

Total Files

9

Last publish

Collaborators

  • necmttn