@@ -24,7 +24,7 @@ Install-Module -Name PowerShellForGitHub
24
24
25
25
``` powershell
26
26
Import-Module .\GitHubAnalytics.psm1
27
- $issues = Get-GitHubIssuesForRepository -repositoryUrl @('https://github.com/PowerShell/DscResources')
27
+ $issues = Get-GitHubIssueForRepository -repositoryUrl @('https://github.com/PowerShell/DscResources')
28
28
```
29
29
30
30
## Running tests
@@ -55,67 +55,67 @@ Contributions are welcome, please open issue on what functionality you would lik
55
55
#### Querying issues
56
56
57
57
``` powershell
58
- $issues = Get-GitHubIssuesForRepository `
58
+ $issues = Get-GitHubIssueForRepository `
59
59
-repositoryUrl @('https://github.com/PowerShell/xPSDesiredStateConfiguration')
60
60
```
61
61
62
62
``` powershell
63
- $issues = Get-GitHubWeeklyIssuesForRepository `
63
+ $issues = Get-GitHubWeeklyIssueForRepository `
64
64
-repositoryUrl @('https://github.com/powershell/xpsdesiredstateconfiguration',`
65
65
'https://github.com/powershell/xactivedirectory') -datatype closed
66
66
```
67
67
68
68
``` powershell
69
- $issues = Get-GitHubTopIssuesRepository `
69
+ $issues = Get-GitHubTopIssueRepository `
70
70
-repositoryUrl @('https://github.com/powershell/xsharepoint',`
71
71
'https://github.com/powershell/xCertificate', 'https://github.com/powershell/xwebadministration') -state open
72
72
```
73
73
74
74
#### Querying pull requests
75
75
76
76
``` powershell
77
- $pullRequests = Get-GitHubPullRequestsForRepository `
77
+ $pullRequests = Get-GitHubPullRequestForRepository `
78
78
-repositoryUrl @('https://github.com/PowerShell/xPSDesiredStateConfiguration')
79
79
```
80
80
81
81
``` powershell
82
- $pullRequests = Get-GitHubWeeklyPullRequestsForRepository `
82
+ $pullRequests = Get-GitHubWeeklyPullRequestForRepository `
83
83
-repositoryUrl @('https://github.com/powershell/xpsdesiredstateconfiguration',`
84
84
'https://github.com/powershell/xwebadministration') -datatype merged
85
85
```
86
86
87
87
``` powershell
88
- $pullRequests = Get-GitHubTopPullRequestsRepository `
88
+ $pullRequests = Get-GitHubTopPullRequestRepository `
89
89
-repositoryUrl @('https://github.com/powershell/xsharepoint', 'https://github.com/powershell/xwebadministration')`
90
90
-state closed -mergedOnOrAfter 2015-04-20
91
91
```
92
92
93
93
#### Querying collaborators
94
94
95
95
``` powershell
96
- $collaborators = Get-GitHubRepositoryCollaborators `
96
+ $collaborators = Get-GitHubRepositoryCollaborator `
97
97
-repositoryUrl @('https://github.com/PowerShell/DscResources')
98
98
```
99
99
100
100
#### Querying contributors
101
101
102
102
``` powershell
103
- $contributors = Get-GitHubRepositoryContributors `
103
+ $contributors = Get-GitHubRepositoryCollaborator `
104
104
-repositoryUrl @('https://github.com/PowerShell/DscResources', 'https://github.com/PowerShell/xWebAdministration')
105
105
```
106
106
107
107
``` powershell
108
- $contributors = Get-GitHubRepositoryContributors `
108
+ $contributors = Get-GitHubRepositoryCollaborator `
109
109
-repositoryUrl @('https://github.com/PowerShell/DscResources','https://github.com/PowerShell/xWebAdministration')
110
110
111
- $uniqueContributors = Get-GitHubRepositoryUniqueContributors -contributors $contributors
111
+ $uniqueContributors = Get-GitHubRepositoryUniqueContributor -contributors $contributors
112
112
```
113
113
114
114
#### Quering teams / organization membership
115
115
116
116
``` 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'
119
119
```
120
120
121
121
### GitHubLabels
0 commit comments