Examples of GitHubServiceFactory


Examples of com.github.api.v2.services.GitHubServiceFactory

   *
   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    CommitService service = factory.createCommitService();
   
    List<Commit> commits = service.getCommits("facebook", "tornado", Repository.MASTER, "setup.py");
    System.out.println(commits.size());
    for (Commit commit : commits) {
      printResult(commit);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.