mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 08:21:21 +00:00
Add getTeam by id function
This commit is contained in:
@@ -578,6 +578,13 @@ public class GitHub {
|
||||
return allMyTeams;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a sigle team by ID.
|
||||
*/
|
||||
public GHTeam getTeam(int id) throws IOException {
|
||||
return retrieve().to("/teams/" + id, GHTeam.class).wrapUp(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Public events visible to you. Equivalent of what's displayed on https://github.com/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user