{"id":19608587,"url":"https://github.com/teamwork/dotnet","last_synced_at":"2025-04-27T20:32:57.685Z","repository":{"id":33770614,"uuid":"59516797","full_name":"Teamwork/dotnet","owner":"Teamwork","description":"Teamwork API Libraries for .Net Framework and .Net Core","archived":false,"fork":false,"pushed_at":"2022-12-08T01:43:53.000Z","size":21735,"stargazers_count":5,"open_issues_count":2,"forks_count":3,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-04-22T10:06:29.483Z","etag":null,"topics":["api-client","net","netcore","sdk","teamwork"],"latest_commit_sha":null,"homepage":"https://developer.teamwork.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Teamwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-23T20:39:32.000Z","updated_at":"2023-01-19T12:46:48.000Z","dependencies_parsed_at":"2023-01-15T02:31:09.504Z","dependency_job_id":null,"html_url":"https://github.com/Teamwork/dotnet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fdotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fdotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fdotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fdotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teamwork","download_url":"https://codeload.github.com/Teamwork/dotnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251204666,"owners_count":21552264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","net","netcore","sdk","teamwork"],"created_at":"2024-11-11T10:15:50.533Z","updated_at":"2025-04-27T20:32:54.999Z","avatar_url":"https://github.com/Teamwork.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Teamwork.Net\n[![Build Status](https://travis-ci.com/Teamwork/dotnet.svg?token=R12oYgGSHPyyQRhqQcMP\u0026branch=master)](https://travis-ci.com/Teamwork/dotnet)\n\n## Legacy SDK\nIf you are still using or want to use our old legacy SDK, use the [Legacy Branch](https://github.com/Teamwork/dotnet/tree/legacy)\nPlease note that we are not updating the old sdk any more and feature are only added to the new sdk. Its highly recommended to not start new projects with the legacy sdk. \n\n## Developer Docs\nIf you are looking for API documentation go [here](http://developer.teamwork.com)\n\n# Usage: \nInstall the SDK\n\n`install-package Teamwork -IncludePrerelease`\n\n## Authentication\nNote, to get the Token and domain you need to use our [App Loginflow](https://developer.teamwork.com/projects/authentication-questions/how-to-authenticate-via-app-login-flow)\n\nWhen using the SDK you only need to handle the first step yourself, once you got a code back from our system you can use our helper to retrieve the final access token along with user data:\n\n            var response = await GetLoginDataAsync(code);\n\nWith that you can get an instance of the client itself:\n\n            var client = Teamwork.Client.GetTeamworkClient(\n            response.TokenData.Installation.Url,\n            response.TokenData.AccessToken, true);\n\nIf you are using our legacy api key (deprecated and not recomended to use)\n\n            var client = TeamworkProjects.Client.GetTeamworkClient(apiKey, Domain,false)\n\n## Teamwork CRM\nClient Library for our newly added CRM Product. These are autogenerated from Swagger at this stage. \nSee [example.cs](https://github.com/Teamwork/dotnet/blob/master/Libraries/Teamwork.CRM/Example.cs) on how to use them. \n\n\n## Fetching Data\nFetching data is really simple, just like this:\n\n            var myProjects = client.Projects.Projects.GetAllAsync()\n            var taskOfAProjects = client.Projects.Tasks.GetAllAsync(projectid, optional: tasklistid)\n\n## Manipulating data\nYou can also create or update items using the sdk, done like this:\n\nTo create a new task to a project\n\n            var myNewTask = new TodoItem() {\n                Description = \"My Task Description\",\n                Content = \"My Task Title\"\n            };\n            var result = client.Projects.Projects.AddTodoItem(myNewTask);\n\nTo update an existing task\n\n            // Add all fields you want to update, need the task id\n            var myUpdatedTask = new TodoItem() {\n                id = \"myTaskID\",\n                Description = \"My Task Description\",\n                Content = \"My Task Title\"\n            };\n\n            result = client.Projects.Tasks.UpdateTask(myNewTask);\n            \n## Support and feedback\nif you have any question, need support or have any feedback please send us a message to [api@teamwork.com](mailto:api@teamwork.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwork%2Fdotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamwork%2Fdotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwork%2Fdotnet/lists"}