{"id":26210336,"url":"https://github.com/tgothorp/putiosharp","last_synced_at":"2026-04-13T11:32:13.640Z","repository":{"id":199068423,"uuid":"246818362","full_name":"tgothorp/PutIoSharp","owner":"tgothorp","description":"A C# library for the Put.io API","archived":false,"fork":false,"pushed_at":"2024-07-09T21:18:44.000Z","size":2909,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T22:49:42.408Z","etag":null,"topics":["csharp","library","nuget-package","putio"],"latest_commit_sha":null,"homepage":null,"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/tgothorp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-12T11:35:29.000Z","updated_at":"2020-04-21T09:22:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"eefc02e4-3ac9-494c-ba03-71fe8fefcca1","html_url":"https://github.com/tgothorp/PutIoSharp","commit_stats":null,"previous_names":["tgothorp/putiosharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tgothorp/PutIoSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgothorp%2FPutIoSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgothorp%2FPutIoSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgothorp%2FPutIoSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgothorp%2FPutIoSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgothorp","download_url":"https://codeload.github.com/tgothorp/PutIoSharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgothorp%2FPutIoSharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["csharp","library","nuget-package","putio"],"created_at":"2025-03-12T07:28:56.537Z","updated_at":"2026-04-13T11:32:13.624Z","avatar_url":"https://github.com/tgothorp.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"docs/img/logo_black.png\" alt=\"Put.io Logo\" title=\"The Put.io logo\" width=\"410\" height=\"100\" /\u003e\n\u003c/p\u003e\n\n___\n# PutIO Sharp \u003cimg src=\"https://img.shields.io/nuget/dt/PutIoSharp\"/\u003e\n\nPutIO Sharp is a C# library for the popular cloud storage service [put.io](https://put.io). This library aims for 100% integration with the public [put.io api.](https://app.swaggerhub.com/apis-docs/putio/putio/2.7.0)\n\n**Note: The config endpoints are not current implemented.**\n\n## Installation\n\n### Nuget\n\nVisit the [Nuget Page](https://www.nuget.org/packages/PutIoSharp/) or run the package manager command:\n\n\tInstall-Package PutIoSharp\n\nor run the dotnet command from the dotnet cli:\n\n\tdotnet add package PutIoSharp\n\n### Build from Source\n\nIf you would prefer to build from source (I recommend using the NuGet package) then simply clone the repo and build with Visual Studio / JetBrains Rider.\n\n## Usage\n\n### Authentication\n\nYou will need to authenticate users so you can request a OAuth token to make subsequent calls.\n\n**Prerequisites**\n - You will need a put.io account, you can [create one here](https://put.io/plans/).\n - You will need to create a new OAuth app from your [app settings](https://app.put.io/settings/account/oauth/apps) (Make a note of your app id).\n\nOnce you have you application setup with put.io you can start the authentication procedure.\n```csharp\npublic class Program\n{\n\tstatic async Task Main(string[] args)\n\t{\n\t\tusing (var putIoAuthClient = new PutIoAuthClient())\n\t\t{\n\t\t\t// Generate a code for the user to enter at http://put.io/link\n\t\t\tvar code = await putIoAuthClient.GetCode(new GetCodeRequest(\"YOUR_APP_ID\"));\n\n\t\t\t// One the user has entered the code you can exchange it for a OAuth Token\n\t\t\tvar token = await putIoAuthClient.GetToken(code);\n\t\t}\n\t}\n}\n```\n\n\n### Making Requests\n\nOnce you have a valid api token for a user, you can proceed to make calls against their account\n\n```csharp\npublic class Program\n{\n\tstatic async Task Main(string[] args)\n\t{\n\t\tvar configuration = new PutioConfiguration(\"YOUR_TOKEN_HERE\");\n\n\t\t// Create the api client passing in the configuration\n\t\tusing (var apiClient = new PutIoApiClient(configuration))\n\t\t{\n\t\t\t// list account details and setting for the user associated with the api token\n\t\t\tvar accountDetails = await apiClient.Account.GetAccountInfo();\n\t\t\tvar accountSettings = await apiClient.Account.GetAccountSettings();\n\t\t}\n\t}\n}\n```\n\n## Contributing\n\nIf you encounter any issues with this library please open an issue describing your problem in as much details as possible or if you want to make a contribution then open a pull request and I will get back to you as soon as I can.\n\n_This library is not affiliated with put.io is any way_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgothorp%2Fputiosharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgothorp%2Fputiosharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgothorp%2Fputiosharp/lists"}