1.0.16 • Published 6 years ago

@rogovdm/gatsby-source-mailchimp v1.0.16

Weekly downloads
23
License
MIT
Repository
github
Last release
6 years ago

Intro

It's a plugin a wrote for my single usecase:

Display number of my newsletter subscribers in my gatsby blog

Installation

yarn add @rogovdm/gatsby-source-mailchimp

Usage

gatsby-config.js

[
  {
    resolve: `@rogovdm/gatsby-source-mailchimp`,
    options: {
      id: '<id-of-your-list>',
      key: '<MAILCHIMP-API-KEY>'
    }
  }
];

index.js

export const pageQuery = graphql`
  query {
    allMailchimpList {
      edges {
        node {
          id
          stats {
            member_count
          }
        }
      }
    }
  }
`;
  • You can get id in settings of your list.
  • You can can your API key in account setting of your mailchimp account.
1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago