You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cloud_store_api

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloud_store_api

API package for Cloud Store (https://github.com/ConnorMolz/Cloud-Store)

0.1.19
latest
npmnpm
Version published
Maintainers
0
Created
Source

Cloud Store API

This package will be a JS connector for the Cloud Store API

How to use

Installation

npm install --save  cloud_store_api

Usage

// Create a client instance
      const client = new CloudStoreApiClient({
          baseUrl: 'http://localhost:5234',   // Example URL
          username: 'admin',   // Example credentials
          password: 'admin',   // Example credentials
          useTLS: false   // For bypass SSL
      });

// Example methods
      try {
          // Get file list
          const fileList = await client.getFileList(''); // Rootpath
          console.log(fileList);
      } catch (error) {
          console.error('API Error:', error);
      }

!!! Important !!!

In your Cloud Store installation you need to enable the API elsewhere you will get a 404 Error

Keywords

cloud

FAQs

Package last updated on 17 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts