8000
Skip to content

Sphereyespanner/api-cli-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API CLI Tool

Stars Forks License CI

Problem Statement

In the fast-paced world of development, managing API requests efficiently can become a cumbersome task. This CLI tool streamlines the process, allowing developers to interact with APIs directly from the command line, reducing context switching and increasing productivity.

Features

  • Simple and intuitive command-line interface
  • Supports GET, POST, PUT, DELETE requests
  • JSON response formatting for easy reading
  • Authentication handling (Bearer, Basic)
  • Environment variable support for secrets
  • Configurable default headers
  • Response time logging for performance tracking
  • Error handling and retries for failed requests

Installation & Quick Start

Prerequisites

  • C++ compiler (g++, clang++, etc.)
  • CMake (for building the project)

Installation Steps

  1. Clone the repository: bash git clone https://github.com/yourusername/api-cli-tool.git cd api-cli-tool

  2. Build the tool: bash mkdir build && cd build cmake .. make

  3. Move the executable to your PATH: bash cp api-cli-tool /usr/local/bin/

Quick Start

To make a GET request: bash api-cli-tool get https://api.example.com/resource

About

A lightweight CLI tool for managing API requests with ease in your development workflows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

0