2.0.0 • Published 7 years ago

@oliverturner/gatsby-source-trello v2.0.0

Weekly downloads
1
License
MIT
Repository
bitbucket
Last release
7 years ago

[EXTREMELY ALPHA VOICE]: Not ready for public consumption yet

Install

Yarn:

yarn add @oliverturner/gatsby-source-trello

npm:

 npm install --save @oliverturner/gatsby-source-trello

How to use

  1. Create a Trello user and add them to the boards you want to work with
  2. Add their API key and to the plugin options
// In your  gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-source-trello',
    options: {
      apiKey: process.env.TRELLO_KEY,
      apiToken: process.env.TRELLO_TOKEN
    }
  },
]

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
      }
    }
  }
}
2.0.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago