Skip to content

levelsleuthhelix/api-shell-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API Shell Tool

Stars Forks License CI

Problem Statement

As developers, we frequently need to interact with APIs for data retrieval, testing, and automation. Manually crafting API requests can be tedious and error-prone. The API Shell Tool simplifies this process using a command-line interface, allowing for quick and efficient API interactions.

Features

  • ✅ Supports GET, POST, PUT, DELETE methods
  • ✅ Handles JSON payloads seamlessly
  • ✅ Environment variable management for API keys and tokens
  • ✅ Pretty-printing for JSON responses
  • ✅ Easy-to-use command-line arguments
  • ✅ Customizable headers
  • ✅ Error handling and logging

Installation & Quick Start

To install the API Shell Tool, you can use the following package managers:

Using Composer

bash composer global require yourusername/api-shell-tool

Using Brew (macOS)

bash brew tap yourusername/api-shell-tool brew install api-shell-tool

Using NPM

bash npm install -g api-shell-tool

Using Cargo (Rust)

bash cargo install api-shell-tool

Real Usage Examples

1. Sending a GET Request

bash api-shell get https://api.example.com/data

2. Sending a POST Request with JSON Data

bash api-shell post https://api.example.com/data '{"key": "value"}'

About

A CLI tool to simplify API interactions for developers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages