nicokosi / hubstats

🧪 Command-line for GitHub pull request statistics
5 stars 0 forks source link

Use 'Authorization' HTTP header instead of 'access_token' query parameter which is deprecated by GitHub #25

Closed nicokosi closed 4 years ago

nicokosi commented 4 years ago

Seems OK:

lein run --organization softwarevidal --repository arthur --token $GITHUB_TOKEN                                                                    
pull requests for softwarevidal/arthur ->
    since 2020-03-29T10:26:01Z
        14 opened / 13 closed / 8 commented (75 comments)
        opened per author:  {nicokosi 6, vivianechastagner 3, ohue-ruth 2, jcgay 2, AElMehdiVidal 1}
        comments per author:  {nicokosi 26, jcgay 22, vivianechastagner 15, AElMehdiVidal 8, ohue-ruth 3, AmauryBchp 1}
        closed per author:  {nicokosi 5, jcgay 4, vivianechastagner 2, AElMehdiVidal 2}