Handy REST API client on your terminal
Project description
RESTEasyCLI
Handy REST API client on your terminal
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file RESTEasyCLI-0.2.0.tar.gz
.
File metadata
- Download URL: RESTEasyCLI-0.2.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4cea28d84157b2d2dd7b0b3ca6fe70834b261f4ee53de46c16c683b08c2ae96 |
|
MD5 | ede940eb141772af0fc60b3e590069ff |
|
BLAKE2b-256 | 538bed0355afecc6a54b6d14b2fd53c93048ab67113496a24c48d93e7035505f |
Provenance
File details
Details for the file RESTEasyCLI-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: RESTEasyCLI-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602d5db22f955daa22723fb4e6cf278a8526fca67b33079e444e020407242b03 |
|
MD5 | ceaa4dcd79ff14bb09a6a59001c2978e |
|
BLAKE2b-256 | f85c5c126a32745cafcba67f3aa3732910a5a76427468e78db7efd670f20c0f8 |