Skip to content

aWholeCompany/gatsby-source-slack-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-source-slack-users

Source plugin for pulling users into Gatsby from the Slack Web API.

⚠️ State of this plugin

This plugin is not well tested and is mostly an experiment. Contributors are welcome.

Install


npm install --save gatsby-source-slack-users

How to use

// In your gatsby-config.js
plugins: {
  resolve: `gatsby-source-slack-users`,
  options: {
    accessToken: `YOUR_TOKEN_HERE`
  }
}

How to query

You can query nodes created from Slack Users like the following:

query {
  allSlackUsers {
    edges {
      node {
        id
        name
        profile {
          realName
          email
        }
      }
    }
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%