pCloud 1.0.1
Requires NuGet 3.4.4 or higher.
dotnet add package pCloud --version 1.0.1
NuGet\Install-Package pCloud -Version 1.0.1
<PackageReference Include="pCloud" Version="1.0.1" />
paket add pCloud --version 1.0.1
#r "nuget: pCloud, 1.0.1"
// Install pCloud as a Cake Addin #addin nuget:?package=pCloud&version=1.0.1 // Install pCloud as a Cake Tool #tool nuget:?package=pCloud&version=1.0.1
A straightforward implementation of the API documented at https://docs.pcloud.com/ The library consumes binary protocol, because I don’t like neither JSON nor HTTP too much. SSL traffic encryption is supported.
I’ve only tested with free accounts.
The APIs uses async-await a lot. You can send multiple requests over the same connection, they will be pipelined i.e. the client will send several requests, then start waiting for their responses. The maximum in-flight requests count is limited to 8. The public API is thread safe.
You may want to change Authentication.deviceInfoString public field to the name of your app. The default value is derived from [AssemblyProduct] and version attributes of your application.
The library doesn’t support 100% of the API, only a subset of it: login/logout, directory operations like create/rename/move/list, file operations like create/read/write/delete, upload links, and a few more requests. Feel free to fork and implement whatever extra you need.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Framework | net47 is compatible. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 2.2
- No dependencies.
-
.NETFramework 4.7
- System.Buffers (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Slightly improved memory management.