0.0.10 • Published 2 years ago

gas-github v0.0.10

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

GitHub API client for Google Apps Script

Usage

$npm install gas-github
# or
$yarn add gas-github
import * as issues from 'gas-github/lib/issues'
// or
// import { createIssue } from 'gas-github'

declare let global: any

function postIssue() {
  const setting = { owner: 'org', repo: 'repo', pat: 'token' }
  const issue = issues.createIssue(setting, {title: 'test', body: 'body', labels: ['bug', 'documentation']})

  Logger.log(`issue created: ${issue}`)
}

global.postIssue = postIssue

API

/lib/issues

  1. createIssue
  2. listMilestones

/lib/projects

  1. listRepositoryProjects
  2. listProjectColumns
  3. addProjectCardFromIssue

Contribution

Welcome contributions and feedbacks!

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

4 years ago

0.0.1

4 years ago