Last active
August 29, 2015 13:57
-
-
Save hliyan/9449175 to your computer and use it in GitHub Desktop.
Github API for Google Apps
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
// how to use GAGA | |
var data = $git.token('<your github token here>') | |
.org('hliyan') | |
.project('enterprise') | |
.milestone(1) | |
.status('open+closed') | |
.fetch('issues', true); // true: returns GitIssue objects, false: raw data | |
for (var i = 0; i < data.length; i++) { | |
var issue = data[i]; | |
Logger.log(issue); // you can see the issue structure here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment