github-tools / github-tools/github
Working with github enterprise
Aberta
question
- Linguagem predominante
- JavaScript
- Estrelas
- 3.8k
- Forks
- 809
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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);
});
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.