Giter Club home page Giter Club logo

endgame's Introduction

ENDGAME Python REST API client

DESCRIPTION:

API allows work with html requests GET, POST, PUT, PATCH, DELETE and visualize the data of the request and response in few formats.

PREREQUISITES:

The following programs and add-ons are required for use:

Installed Python 3: To install in WINDOWS:

https://www.python.org/downloads/windows/ - the official site where you can download.

To install in UNIX systems with Tkinter framework:

sudo apt-get install python3 python3-tk

To install in macOS:

https://www.python.org/downloads/mac-osx/ - the official site where you can download.

YAML extension instalation:

$ pip3 install pyyaml

Simplejson module instalation:

$ pip3 install simplejson

Requests module instalation:

$ pip3 install requests

Usage:

Program operation through the console:
python3 endgame.py [-g, --gui]

To display a help list.
python3 endgame.py [-h, --help] 

  -h, --help            show this help message and exit
  -m {get,post,put,patch,delete}, --method {get,post,put,patch,delete}
                        Set request method
  --history {show,clear}
                        Show 10 last requests or clear all
  -l {debug,info,warning,error}, --loglevel {debug,info,warning,error}
                        Set logging level
  -e ENDPOINT, --endpoint ENDPOINT
                        Set endpoint of request
  -p param1=value1 [param2=value2 ...], --params param1=value1 [param2=value2 ...]
                        Set params of request
  -hd header1=value1 [header2=value2 ...], --headers header1=value1 [header2=value2 ...]
                        Set headers of request
  -b bodyparam1=value1 [bodyparam2=value2 ...], --body bodyparam1=value1 [bodyparam2=value2 ...]
                        Set body of request
  -a username password, --auth username password
                        Set username and password
  -v {json,yaml}, --view {json,yaml}
                        Set view mode json or yaml

Author: 
Andrey Sheiko  - asheiko@student.ucode.world 

endgame's People

Contributors

inflamerzt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.