Metadata-Version: 2.1
Name: urestapi
Version: 2.0.2
Summary: Uptycs Rest API call highlighting.
Home-page: UNKNOWN
Author: vkumar
Author-email: vibhor.aim@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: SQL
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Requires-Dist: click (>=4.1)
Requires-Dist: Pygments (>=1.6)
Requires-Dist: prompt-toolkit (<2.1.0,>=2.0.0)
Requires-Dist: cli-helpers[styles] (>=1.0.1)
Requires-Dist: PyJWT (>=2.1.0)
Requires-Dist: requests
Requires-Dist: urllib3 (>=1.21.1)

# urestapi

A command-line client for Uptycs that has ability to run Uptycs restAPI

## Installation

If you already know how to install python packages, then you can install it via pip:

You might need sudo on linux.
if you want to install using pip, you can use following command:
```
$ sudo pip install urestapi
```

if you want to install from source you can use following command:
```
$ git pull urestapi
$ cd urestapi
$ python setup.py install
```

## Usage
```
    $ urestapi --help

Usage: urestapi [OPTIONS]

Options:
  -V, --version                   Output urestapi's version.
  -k, --keyfile TEXT              Uptycs json key file.
  --domainsuffix TEXT             Uptycs Domain Suffix like .uptycs.io
  --enable-ssl / --disable-ssl    verify ssl certificate
  -m, --method TEXT               restAPI method [GET|POST|PUT|DELETE]]
  -a, --api TEXT                  API name [/alerts, /assets, etc]
  -d, --postdata TEXT             post json data
  -D, --postdatafile TEXT         post json data file
  -f, --location TEXT             download location for package
  --threat_source_name TEXT       Name of the threatsource
  --threat_source_description TEXT
                                  description of the threatsource
  --threat_data_csv TEXT          csv file of the threatsource
  --help                          Show this message and exit.
```


