Skip to main content

Handy REST API client on your terminal

Project description

RESTEasyCLI

PyPI version Build Status

Handy REST API client on your terminal

asciicast

Installation

pip install resteasycli

# OR

pipenv install resteasycli

Usage

Help menu

recli help

Initialize workspace

mkdir myworkspace
cd myworkspace
recli init
# Few template files should be generated namely: auth.yml  headers.yml  saved.yml  sites.yml

Do CRUD requests

recli get testing/todos
recli post testing/todos --kwargs title=abcd userId=10
recli put testing/todos/1 --kwargs title=abcd
recli patch testing/todo1 --kwargs title=xyz
recli delete testing/todos/1

Special formatting of data

List

recli list testing/todos

Show

recli show testing/todos

Re-do a saved request

recli redo remind_shopping
recli redo-list remind_shopping -m GET -k

Most importantly fake a retuest

recli redo-show remind_shopping -m GET -k --fake

External packages used

Project details


Download files

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

Source Distribution

RESTEasyCLI-0.2.0.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

RESTEasyCLI-0.2.0-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page