Last active
February 15, 2019 17:35
-
-
Save DeeJayTC/2e4092432cef61fba08a450b844b78fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get all people in installation | |
var people = client.Projects.People.GetPeopleAsync(); | |
// Get status updates by people in installation | |
var latestStatusMessages = client.Projects.People.GetPeopleStatusAsync(); | |
// Find a person by email | |
var personByMail = client.Projects.People.GetPersonByMailAsync("max@teamwork.com"); | |
// Get all active Projects | |
var projects = client.Projects.Projects.GetAllProjectsAsync(OnlyStarredProjects?) | |
// Get a specific project and its details by id | |
var project = client.Projects.Projects.GetProject(theID); | |
// You can chose to include tasks, milestones, people etc here | |
// Get all boards of a project | |
var boards = client.Projects.Boards.GetProjectBoardssAsync(theId); | |
// return time tracking totals for a given project and user | |
var totals = client.Projects.Time.GetTotals_Project(project,userid) | |
// Search for anything in Projects | |
// first param is the search term | |
// second is the type we are searching for | |
// available types are task, project, comment, message, notebook, person | |
var results = client.Projects.Projects.Search("Whatever we want to search for", "task") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment