|
|
|
|
|
|
21
|
# Fetch all repos (public, private, org member)
|
21
|
# Fetch all repos (public, private, org member)
|
|
22
|
$ token=<personal access token>
|
22
|
$ token=<personal access token>
|
|
23
|
$ curl -u heyLu:$token https://api.github.com/user/repos | ./stars
|
23
|
$ curl -u heyLu:$token https://api.github.com/user/repos | ./stars
|
|
|
|
24
|
|
|
|
|
25
|
# Fetch repos from a file
|
|
|
|
26
|
$ ./stars < repos.json
|
|
|
|
27
|
...
|
|
24
|
```
|
28
|
```
|
|
25
|
|
29
|
|
|
26
|
However, note that GitHub's API uses pagination, so ensure you set the
|
30
|
However, note that GitHub's API uses pagination, so ensure you set the
|