Skip to main content

myCloud Command Line Interface

Project description

Swisscom myCloud CLI

Swisscom myCloud CLI is a command line utility to manage all your data stored on Swisscom myCloud. To achieve this, it uses the public Swisscom myCloud API.

Requirements

Any Keyring Backend comptatible with the keyring package is required in order to store the credentials for myCloud.

Usage

Docker

docker run -it mycloud-cli

Manual Installation

First, make sure chromium and chromedriver are installed and in your $PATH.

To install or upgrade myCloud CLI via pip, run:

python3 -m pip install --user --upgrade mycloud-cli

After installing myCloud CLI make sure to add the certificates for mitmproxy to your CA in your OS / Chromium. Run:

mycloud auth cert

to download the required certificate.

Authenticate

To use myCloud CLI, run mycloud [command]. Then authenticate yourself with your username and password using:

mycloud auth login

To get a list of all available commands, run:

mycloud -h

Setup local environment

First, clone the repository:

git clone https://github.com/thomasgassmann/mycloud-cli

Then install all dependencies via pipenv:

cd mycloud-cli
export PIPENV_VENV_IN_PROJECT="enabled"
pipenv install --python 3.6
pipenv shell

Then run python -m mycloud auth cert to install the certificates as described in the Installation section.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mycloud-cli, version 1.2.3
Filename, size File type Python version Upload date Hashes
Filename, size mycloud_cli-1.2.3-py3-none-any.whl (53.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page