github-tools / github-tools/github
Working with github enterprise
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.8k
- Forks
- 809
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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);
});
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reproducing the supplied JavaScript example against the GitHub Enterprise apiBase, then inspect how the GitHub constructor and listNotifications request use that setting. Confirm whether the request reaches the Enterprise endpoint and define done as successful notification retrieval or a documented, actionable limitation.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100