Last active
September 23, 2016 12:58
-
-
Save hvdklauw/f7d1aa567cdc1df2daf79244b3fbe45e to your computer and use it in GitHub Desktop.
Pretty print github issue json.
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
# curl --header "X-GitHub-OTP: <code>" -u "<username>" https://api.github.com/repos/StriatumVentures/ZUPR/issues\?milestone\=1\&state\=open > issues.json | |
import json | |
with open("issues.json") as of: | |
data = json.load(of) | |
for issue in data: | |
t = issue['title'] | |
n = issue['number'] | |
print("{} (#{})".format(t, n)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment