Metadata-Version: 2.1
Name: UpStorageApiClient
Version: 0.7
Summary: UpStorage Api Client.
Home-page: https://github.com/QuackCoding/UpStorageApiClient
Author: Sakib (Florian Dedov)
Author-email: <mail@neuralnine.com>
License: UNKNOWN
Keywords: python,storage,api,upstorage,UpStorageApiClient
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Requires-Dist: requests

## UpStorageClientApi

### UpStorage Service Api.

* `Uploading Files`
* `Validating Cerdentails`
* `Listing Files`

<br>

## Installation

1. Get a free API Key at [https://example.com](https://example.com)

2. Install Library Using `pip`
   ```shell script
   python3 pip install UpStorageApiClient
   ```
3. Or Download Files With Git
   ```sh
   git clone https://github.com/user/repo
   ```
4. Import Class
   ```python
   from UpStorageApiClient.api import UpStorageBucket
   ```
5. Authenticate with the api
   ```python
   bucket = UpStorageBucket(auth_token, api_key)
   ```
6. Make A Request In This Case `upload`
   ```python
   bucket.upload(file_path='test.txt', is_private=True)


   Output: {'file': 'https://example/file.txt/'}
   ```
   `file_path: path of the file you want to upload.`
   `is_private: file types: [public, private] Default: False`
7. Get All `File` From Bucket
   ```python
   bucket.get_all_files()

   Output: {'url': 'https://example/file.png/', 'is_private': 'True', ...}
   ```



