Skip to main content

Cloud Winterstore Admin SDK v0.0.1

We have put a lot of effort to make Cloud Winterstore very easy to use, both in the application and the documentation. Our motto being to secure files and secure them easily.

Storage for your application can be implemented in 2 ways. (1) The client can fetch the file they want independently from the Storage Server. (2) The client requests to the server, and the server retrieves the file for the client from the Storage Server.

The Admin SDK (This Library) is meant for storage implementation using option (1) This SDK should not be used on the client side as it gives them Administrative Priviledges

Getting Started

We assume you have already created an account with us on https://cloudwinterstore.co.zw

  1. Start of by creating a new project

  2. Navigate to the “Accounts Tab”

  3. Click “Admin Accounts”

  4. Create an Admin Account with a strong password

Install the Library

In your terminal, run

  1. python pip install winterstore-admin

Test Gateway

Import the library and use the checkGateWay() method

import cloudwinterstore

cloudwinterstore.checkGateWay()

Methods

Check Gateway: Is used to check if the server gateway is open

checkGateWay()

Authenticate: Is used to authenticate with the server

authenticate(username,password)

Check Authentication: Checks if authenticated

checkAuthentication()

Get Folder : Get folders

getFolder(projectName,id=”root”)

Get Path : returns a list of files that belong to the folder in that project

getPath(projectName,path=”root”)

Upload File : Uploads a file to a folder in a project given the parameters in multi-part form data.

uploadFile(file,allowAllUsersWrite,allowAllUsersRead,allowKeyUsersWrite,allowKeyUsersRead,name,project,parent)

Get File: Returns a streaming file

getFile(id)

Get File Using Path : Returns a streaming file

getFileUsingPath(projectName,path)

File Info : Given a file id returns infomation on a file

getFileInfo(id)

Delete : Deletes an index object.

deleteIndexObject(id)

Rename : Renames an index object given the objects id and new name as JSON data

rename(id,new_name)

Give Key : Gives a key to a client to access a files.

giveKey(account,file_id)

Remove Key: Removes a key from a client

removeKey(accounts,file_id)

New Folder: Creates a new folder in a project

newFolder(projectName,parentID,folderName)

Get People With Key : Returns a JSON list of people who have access to a file/folder

getPeopleWithKey(id)

Add Client: adds a developer client to a project

addClient(identification,integration,password,project)

Delete Client: delete a developer client

deleteClient(identification,integration,password,project)

Search Developer Client: returns a JSON list of developers that meet a criteria

searchClient(criteria,project)

Barn Client: barns a developer client Account

banClient(idetification,project)

Remove Barn: remove barn inflicted on a developer account

unbanClient(idetification,project)

Winterstore Admin v.0.1.1

No changes - this is the first release

Release files for cloudwinterstore 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudwinterstore 0.0.1
File Size Uploaded
cloudwinterstore-0.0.1.tar.gz 7.3 kB Details

Release files / cloudwinterstore-0.0.1.tar.gz

Download URL cloudwinterstore-0.0.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
950fc38f590315f9772a53f07041ce099ab57f259ded3888541080c91ce5ecd5
BLAKE2b-256 checksum
How to use checksums
4f62e96d235e355b8b5dc4be4e63a5b703826c407567eb049de5a653ff298464
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page