@delta-storage/sdk
v0.2.27
Published
Official SDK for [Delta Storage App](https://app.delta.storage/)
Downloads
240
Keywords
Readme
Delta Storage SDK
Official SDK for Delta Storage App
Introduction
This Documentation provides detailed information on how to use delta storage developer tools to interact with directories and files in your application.
Installation
You can install the Delta Storage SDK using your preferred package manager:
npm install --save @delta-storage/sdk
yarn add --save @delta-storage/sdk
Getting Started
To start using the Delta Storage SDK, you need to acquire your API_KEY from your app.delta.storage account. Once you have your API_KEY, Here's how you can get started:
import DeltaStorageSDK from '@delta-storage/sdk'
const deltaStorage = new DeltaStorageSDK({
apiKey: 'YOUR API KEY'
})
Usage
Once you've set up your instance, using the Delta Storage SDK is easy as follows:
- Drives Management
- Directory Management
- File Management
- Account
- getTotalSize (Storage Used)
- readStorage (Storage Capacity)
- readSettings
- updateSettings
Troubleshooting
Problem: Unauthorized error when performing an operation. Solution: Ensure that your API key has the necessary permissions for the operation you're trying to perform.