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.1.tar.gz
(10.0 kB
view details)
Built Distributions
RESTEasyCLI-0.2.1-py3.5.egg
(12.9 kB
view details)
File details
Details for the file RESTEasyCLI-0.2.1.tar.gz
.
File metadata
- Download URL: RESTEasyCLI-0.2.1.tar.gz
- Upload date:
- Size: 10.0 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 | 689a2cccacf1abf16e411699af0340f6fa8915e582ed8547ac929e3710cfcf84 |
|
MD5 | 89073a05ed88abd085e531a3f0b0c2ac |
|
BLAKE2b-256 | b54536412ac257946ac03690f2eda8d90cf6d238623a6a73dcd5ff328d577c9b |
Provenance
File details
Details for the file RESTEasyCLI-0.2.1-py3.5.egg
.
File metadata
- Download URL: RESTEasyCLI-0.2.1-py3.5.egg
- Upload date:
- Size: 12.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 | 503342ce7225039c678cffc975aee5d23fbcfb242bdc347c2914bf5e9e18e9d9 |
|
MD5 | 54d0116a28851dd708c3da1d515c602a |
|
BLAKE2b-256 | 555b69f9d297ed6c1b9f980053544b05505115ff81855f856b939afdc0148fdf |
Provenance
File details
Details for the file RESTEasyCLI-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: RESTEasyCLI-0.2.1-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 | 7fe6f731be5b7562742c70871cb71dfe12aae3d8b431bac9116ba67eae62cefe |
|
MD5 | f89359471ca8d44407fbfdd9ed8d0581 |
|
BLAKE2b-256 | 154e97df839eb399309f86387835d339ee0ee2b093c151d8583c4c055a89de94 |