Package com.github.api.v2.schema

Examples of com.github.api.v2.schema.Milestone


   *
   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    IssueService service = factory.createIssueService();
    List<Issue> issues = service.searchIssues("facebook", "tornado", Issue.State.OPEN, "type");
    for (Issue issue : issues) {
      printResult(issue);
    }
    Issue issue = service.getIssue("facebook", "tornado", 1);
View Full Code Here


   *
   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    GistService service = factory.createGistService();
    Gist gist = service.getGist("289179");
    printResult(gist);
    System.out.println(convertStreamToString(service.getGistContent("289179", "TimeZoneDSTUtil.java")));
  }
View Full Code Here

   *
   * @throws Exception
   *             the exception
   */
  public static void main(String[] args) throws Exception {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    RepositoryService service = factory.createRepositoryService();
    List<Repository> repositories = service.searchRepositories("hadoop");
    for (Repository repository : repositories) {
      printResult(repository);
    }
    Map<Language, Long> breakDown = service.getLanguageBreakdown("facebook", "tornado");
View Full Code Here

   *
   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    UserService service = factory.createUserService();
    List<User> users = service.searchUsersByName("john");
    for (User user : users) {
      printResult(user);     
    }
    User user = service.getUserByEmail("nabeelmukhtar@yahoo.com");
View Full Code Here

   *
   * @throws Exception
   *             the exception
   */
  public static void main(String[] args) throws Exception {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    OrganizationService service = factory.createOrganizationService();
    Organization organization = service.getOrganization("github");
    printResult(organization);
    List<User> publicMembers = service.getPublicMembers("github");
    for (User user : publicMembers) {
      printResult(user);
View Full Code Here

   *
   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    JobService service = factory.createJobService();
    List<Job> jobs = service.searchJobs("python", "new york");
    for (Job job : jobs) {
      printResult(job);
    }
    Job job = service.getJob("82eeae34-65ff-11e0-99be-a34ef36756d3");
View Full Code Here

   *
   * @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

   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    IssueService service = factory.createIssueService();
    List<Issue> issues = service.searchIssues("facebook", "tornado", Issue.State.OPEN, "type");
    for (Issue issue : issues) {
      printResult(issue);
    }
    Issue issue = service.getIssue("facebook", "tornado", 1);
    printResult(issue);
  }
View Full Code Here

   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    JobService service = factory.createJobService();
    List<Job> jobs = service.searchJobs("python", "new york");
    for (Job job : jobs) {
      printResult(job);
    }
    Job job = service.getJob("82eeae34-65ff-11e0-99be-a34ef36756d3");
    printResult(job);
  }
View Full Code Here

   * @param args
   *            the arguments
   */
  public static void main(String[] args) {
    GitHubServiceFactory factory = GitHubServiceFactory.newInstance();
    NetworkService service = factory.createNetworkService();
    List<NetworkCommit> commits = service.getNetworkData("facebook", "tornado", "7b80c2f4db226d6fa3a7f3dfa59277da1d642f91");
    for (NetworkCommit commit : commits) {
      printResult(commit);
    }
  }
View Full Code Here

TOP

Related Classes of com.github.api.v2.schema.Milestone

Copyright © 2018 www.massapicom. 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.