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 hashes)
Built Distributions
RESTEasyCLI-0.2.1-py3.5.egg
(12.9 kB
view hashes)
Close
Hashes for RESTEasyCLI-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fe6f731be5b7562742c70871cb71dfe12aae3d8b431bac9116ba67eae62cefe |
|
MD5 | f89359471ca8d44407fbfdd9ed8d0581 |
|
BLAKE2b-256 | 154e97df839eb399309f86387835d339ee0ee2b093c151d8583c4c055a89de94 |