pCloud JavaScript SDK
JavaScript library that lets you use pCloud functionality in your apps. Includes the full range of the pCloud's API with some utility on top.
- Universal/Isomorphic.
- Promise based API.
- Simplified OAuth process. Get started in minutes.
Usage
; // Create `client` using an oAuth token:const client = pcloudSdk; // then list root folder's contents:client;
Upload file:
document
Getting started
Install with npm:
npm install --save pcloud-sdk-js
Or load the prebuilt file. The SDK is exported as a pCloudSDK
global.
<script type="text/javascript" src="https://unpkg.com/pcloud-sdk-js@latest/dist/pcloudsdk.js"></script>
Read more
- For more information you can view the documentation, the examples and the API Reference.
- To learn more about the pCloud's API go to https://docs.pcloud.com.
- SDKs for other platforms you can find at our SDK site.