github-tools / github-tools/github
Working with github enterprise
Aperta
question
- Lingua principale
- JavaScript
- Stelle
- 3.8k
- Fork
- 809
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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);
});
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.