0.1.4 • Published 8 years ago

leitstand-github v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

leitstand-github NPM version Build Status Dependency Status

GitHub plugin for Leitstand

Installation

First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:

npm install leitstand-github --save

Usage

leitstand
  .widget('github-events', {
    plugin: 'github',
    settings: {
      auth: {
        type: 'token',
        token: '<TOKEN>'
      }
    },
    methods: [
    {
      name: 'activity.getEventsForOrg',
      opts: {org: 'cron-eu'},
      key: 'cron'
    },
    {
      name: 'activity.getEventsForOrg',
      opts: {org: 'leitstandjs'},
      key: 'leitstand'
    }]
  })

API

node-github

License

MIT © Sebastian Krüger