Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Revue API Client

Getting Started

yarn add gatsby-source-revue

Setting Up

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "gatsby-source-revue",
      options: {
        token: process.env.REVUE_TOKEN,
      },
    },
  ],
};

Querying

import { graphql } from "gatsby";

export const pageQuery = graphql`
  query RevueIssues {
    allRevueIssue {
      nodes {
        title
        html
        sent_at
        description
        url
        active
      }
    }
  }
`;

Hiring

Uplift is hiring! Work on fun projects with us! Apply

© 2023 Gatsby, Inc.