https://github.com/qualisystems/cloudshell-rest-api
https://github.com/qualisystems/cloudshell-rest-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/qualisystems/cloudshell-rest-api
- Owner: QualiSystems
- License: other
- Created: 2016-08-31T08:04:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-04T11:18:46.000Z (about 3 years ago)
- Last Synced: 2025-03-24T16:53:35.066Z (over 1 year ago)
- Language: Python
- Size: 224 KB
- Stars: 0
- Watchers: 14
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
# cloudshell-rest-api
[](https://github.com/QualiSystems/cloudshell-rest-api/actions?query=branch%3Amaster)
[](https://codecov.io/gh/QualiSystems/cloudshell-rest-api)
[](https://badge.fury.io/py/cloudshell-rest-api)
[](https://github.com/python/black)
## Features
* Add Shell - adds a new Shell Entity (supported from CloudShell 8.0)
* Update Shell - updates an existing Shell Entity (supported from CloudShell 8.0)
* Delete Shell - removes an existing Shell Entity (supported from CloudShell 9.2)
* Get Shell - get Shell's information
* Get Installed Standards - gets a list of standards and matching versions installed on CloudShell (supported from CloudShell 8.1)
* Import Package - imports a package to CloudShell
* Export Package - exports a package from CloudShell
## Installation
```bash
pip install cloudshell-rest-api
```
## Getting started
```python
from cloudshell.rest.api import PackagingRestApiClient
# Loging to CloudShell
client = PackagingRestApiClient.login("HOST", "USERNAME", "PASSWORD", "DOMAIN")
# Or connect with a token
client = PackagingRestApiClient("HOST", "TOKEN")
# Add a new Shell to CloudShell
client.add_shell("SHELL_PATH.zip")
```
## License
* Free software: Apache Software License 2.0