Skip to content

jmusial/gatsby-source-eventbrite

 
 

Repository files navigation

gatsby-source-eventbrite-multipleorgs


This is a fork of gatsby-source-eventbrite made to support multiple evetbrite accounts and support for gatsby v1.9


Source plugin for pulling events and related data from eventbrite.

WORK IN PROGRESS: At the moment it just fetches events and venues from eventbrite.com without further processing or filtering. Other Endpoints are configurable but haven't been tested yet. Works with Eventbrite's API v3.

Install

npm install --save gatsby-source-eventbrite-multipleorgs

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `@jmusial/gatsby-source-eventbrite`,
    options: {
      organizations: {
        [     
          organizationId: `The ID of your organization 1`,
          accessToken: `your_access_token 1`,
        ],
        [     
          organizationId: `The ID of your organization 2`,
          accessToken: `your_access_token 2`,
        ],
        ...
      }
      // OPTIONAL: Defaults are Events and Venues
      entities: ['events', 'venues','...']
    },
  },
]

About

GatsbyJS source plugin for Eventbrite

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%