Skip to content

Instantly share code, notes, and snippets.

@tzaffi
Created June 17, 2022 18:59
Show Gist options
  • Save tzaffi/a6e9fc5a5902a1df731516c48a5e7a45 to your computer and use it in GitHub Desktop.
Save tzaffi/a6e9fc5a5902a1df731516c48a5e7a45 to your computer and use it in GitHub Desktop.
Use the github api to figure out when people starred a particular repo
# notable query params:
# * no auth token for this public, read-only information
# * json response type
# * specialized star-info (to get fields such as `starred_at`)
# page=3 has been specified
# per_page=70 has been specified (max of 100)
curl -H "Accept: application/vnd.github.v3+json" \
-H "Accept: application/vnd.github.v3.star+json" \
"https://api.github.com/repos/algorand/pyteal/stargazers?page=3&per_page=70" | grep starred_at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment