github-tools / github-tools/github
How do I access the License API thru here?
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.8k
- Forks
- 809
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hello, according to Github API docs, you need to attach `application/vnd.github.drax-preview+json` in the `Accept` header. Once that is supplied, one should get the license info along with the repo object. However, I tried the following:
```
const gh = new Github({
username: 'xxxx',
password: 'xxxxxx'
}, '', 'application/vnd.github.drax-preview+json').search()
```
but to no avail. How can I access the License API using this package? Thanks in advance
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reviewing the Github constructor and search() call shown in the issue, then compare the package's request and header handling with the GitHub License API documentation. The work is done when this package can access license information through the documented API flow, with the supported usage made clear.
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