gas-github

Github API client for Google Apps Script

Usage no npm install needed!

<script type="module">
  import gasGithub from 'https://cdn.skypack.dev/gas-github';
</script>

README

GitHub API client for Google Apps Script

Usage

$npm install gas-github
# or
$yarn add gas-github
import { Client } from 'gas-github'

declare let global: any

function createIssue() {
  const client = new Client('org', 'repo','token')
  const issueNo = client.createIssue({title: 'test', body: 'body', labels: ['bug', 'documentation']})

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

global.createIssue = createIssue

Contribution

Welcome contributions and feedbacks!