github-tools / github-tools/github

Working with github enterprise

未關閉
#538 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
JavaScript
星號
3.8k
分支
809
PR 合併指標
30 天內沒有已合併 PR

描述

Is there a way to use this lib with Git-Hub Enterprise?

I tried this as below but it doesn't seem to work. Please let me know what I'm missing.

```
const token = process.env.GIT_API_TOKEN,
apiBase = 'https://git.company.com/api/v3',
GitHub = require('github-api'),
gh = new GitHub({ token, apiBase });

let me = gh.getUser();
me.listNotifications(function(err, notifications) {
console.log(notifications);
});
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。