1.0.16 • Published 5 years ago

@rogovdm/gatsby-source-mailchimp v1.0.16

Weekly downloads
23
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago