0.1.4 • Published 9 years ago
leitstand-github v0.1.4
leitstand-github  
  
 
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 --saveUsage
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
License
MIT © Sebastian Krüger