Created
December 4, 2018 05:11
-
-
Save nikhita/9705e77aca1bb81f4a8056e886137a4b to your computer and use it in GitHub Desktop.
List of Kubernetes GitHub repos over time in a Graph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
repos = [ | |
'kubernetes', | |
'kubernetes-client', | |
'kubernetes-csi', | |
'kubernetes-incubator', | |
'kubernetes-sigs', | |
] | |
for repo in repos: | |
resp = requests.get(url="https://api.github.com/orgs/" + repo + "/repos?per_page=200") | |
data = resp.json() | |
for item in data: | |
name = item['full_name'].split('/')[1] | |
print("%s : %s" % (repo + "/" + name, item["created_at"])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result - https://docs.google.com/spreadsheets/d/1rqcnwStAgA2cA5BqsEtmAxU1sHyDx04W83b2p9wNlWE/edit#gid=1202020394