@@ -24,7 +24,7 @@ Install-Module -Name PowerShellForGitHub
2424
2525 ``` powershell
2626Import-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