File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ In Maven:
2828Start talking to Github API.
2929
3030``` java
31- final GitHubClient github = GithubClient . create(URI . create(" https://github.com/api/v3/" ));
31+ final GitHubClient github = GitHubClient . create(URI . create(" https://github.com/api/v3/" ));
3232final IssueApi issueClient = github. createRepositoryClient(" my-org" , " my-repo" ). createIssueClient();
3333issueClient. listComments(ISSUE_ID ). get(). forEach(comment - > log. info(comment. body()));
3434```
@@ -38,7 +38,7 @@ issueClient.listComments(ISSUE_ID).get().forEach(comment -> log.info(comment.bod
3838### Simple access token
3939
4040``` java
41- final GitHubClient github = GithubClient . create(URI . create(" https://github.com/api/v3/" ));
41+ final GitHubClient github = GitHubClient . create(URI . create(" https://github.com/api/v3/" ));
4242// Do the requests
4343github. createRepositoryClient(" my-org" , " my-repo" ). getCommit(" sha" );
4444```
@@ -75,7 +75,7 @@ This library attempts to mirror the structure of GitHub API endpoints. As an exa
7575the ` GET /repos/:owner/:repo/commits ` API call, under the ` repos ` API. Therefore, the ` getCommit ` method lives in the RepositoryClient.
7676
7777``` java
78- final GitHubClient github = GithubClient . create(URI . create(" https://github.com/api/v3/" ));
78+ final GitHubClient github = GitHubClient . create(URI . create(" https://github.com/api/v3/" ));
7979github. createRepositoryClient(" my-org" , " my-repo" ). getCommit(" sha" );
8080```
8181
You can’t perform that action at this time.
0 commit comments