Skip to content

Commit 4eafd54

Browse files
aedahlHowardWolosky
authored andcommitted
Update README.md
Removed trailing 's'
1 parent ceabc39 commit 4eafd54

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Install-Module -Name PowerShellForGitHub
2424

2525
```powershell
2626
Import-Module .\GitHubAnalytics.psm1
27-
$issues = Get-GitHubIssuesForRepository -repositoryUrl @('https://github.com/PowerShell/DscResources')
27+
$issues = Get-GitHubIssueForRepository -repositoryUrl @('https://github.com/PowerShell/DscResources')
2828
```
2929

3030
## Running tests
@@ -55,67 +55,67 @@ Contributions are welcome, please open issue on what functionality you would lik
5555
#### Querying issues
5656

5757
```powershell
58-
$issues = Get-GitHubIssuesForRepository `
58+
$issues = Get-GitHubIssueForRepository `
5959
-repositoryUrl @('https://github.com/PowerShell/xPSDesiredStateConfiguration')
6060
```
6161

6262
```powershell
63-
$issues = Get-GitHubWeeklyIssuesForRepository `
63+
$issues = Get-GitHubWeeklyIssueForRepository `
6464
-repositoryUrl @('https://github.com/powershell/xpsdesiredstateconfiguration',`
6565
'https://github.com/powershell/xactivedirectory') -datatype closed
6666
```
6767

6868
```powershell
69-
$issues = Get-GitHubTopIssuesRepository `
69+
$issues = Get-GitHubTopIssueRepository `
7070
-repositoryUrl @('https://github.com/powershell/xsharepoint',`
7171
'https://github.com/powershell/xCertificate', 'https://github.com/powershell/xwebadministration') -state open
7272
```
7373

7474
#### Querying pull requests
7575

7676
```powershell
77-
$pullRequests = Get-GitHubPullRequestsForRepository `
77+
$pullRequests = Get-GitHubPullRequestForRepository `
7878
-repositoryUrl @('https://github.com/PowerShell/xPSDesiredStateConfiguration')
7979
```
8080

8181
```powershell
82-
$pullRequests = Get-GitHubWeeklyPullRequestsForRepository `
82+
$pullRequests = Get-GitHubWeeklyPullRequestForRepository `
8383
-repositoryUrl @('https://github.com/powershell/xpsdesiredstateconfiguration',`
8484
'https://github.com/powershell/xwebadministration') -datatype merged
8585
```
8686

8787
```powershell
88-
$pullRequests = Get-GitHubTopPullRequestsRepository `
88+
$pullRequests = Get-GitHubTopPullRequestRepository `
8989
-repositoryUrl @('https://github.com/powershell/xsharepoint', 'https://github.com/powershell/xwebadministration')`
9090
-state closed -mergedOnOrAfter 2015-04-20
9191
```
9292

9393
#### Querying collaborators
9494

9595
```powershell
96-
$collaborators = Get-GitHubRepositoryCollaborators`
96+
$collaborators = Get-GitHubRepositoryCollaborator`
9797
-repositoryUrl @('https://github.com/PowerShell/DscResources')
9898
```
9999

100100
#### Querying contributors
101101

102102
```powershell
103-
$contributors = Get-GitHubRepositoryContributors`
103+
$contributors = Get-GitHubRepositoryCollaborator`
104104
-repositoryUrl @('https://github.com/PowerShell/DscResources', 'https://github.com/PowerShell/xWebAdministration')
105105
```
106106

107107
```powershell
108-
$contributors = Get-GitHubRepositoryContributors`
108+
$contributors = Get-GitHubRepositoryCollaborator`
109109
-repositoryUrl @('https://github.com/PowerShell/DscResources','https://github.com/PowerShell/xWebAdministration')
110110
111-
$uniqueContributors = Get-GitHubRepositoryUniqueContributors -contributors $contributors
111+
$uniqueContributors = Get-GitHubRepositoryUniqueContributor -contributors $contributors
112112
```
113113

114114
#### Quering teams / organization membership
115115

116116
```powershell
117-
$organizationMembers = Get-GitHubOrganizationMembers -organizationName 'OrganizationName'
118-
$teamMembers = Get-GitHubTeamMembers -organizationName 'OrganizationName' -teamName 'TeamName'
117+
$organizationMembers = Get-GitHubOrganizationMember -organizationName 'OrganizationName'
118+
$teamMembers = Get-GitHubTeamMember -organizationName 'OrganizationName' -teamName 'TeamName'
119119
```
120120

121121
### GitHubLabels

0 commit comments

Comments
 (0)