github-tools / github-tools/github

How do I access the License API thru here?

オープン
#476 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
3.8k
フォーク
809
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
api
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。