Skip to content

Commit afa8079

Browse files
authored
Update README.md (#40)
GithubClient -> GitHubClient
1 parent d00da14 commit afa8079

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In Maven:
2828
Start 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/"));
3232
final IssueApi issueClient = github.createRepositoryClient("my-org", "my-repo").createIssueClient();
3333
issueClient.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
4343
github.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
7575
the `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/"));
7979
github.createRepositoryClient("my-org", "my-repo").getCommit("sha");
8080
```
8181

0 commit comments

Comments
 (0)