Skip to content

tui: api and json #49

@practicalli-johnny

Description

@practicalli-johnny

TUI tools for working with API's and JSON data and specifications.

Slumber

Define, execute, and share configurable HTTP requests.

https://github.com/LucasPickering/slumber

https://github.com/LucasPickering/slumber/raw/master/docs/src/images/demo.gif

Examples

Slumber is based around collections. A collection is a group of request recipes, which are templates for the requests you want to run. A simple collection could be:

# slumber.yml
requests:
  get:
    method: GET
    url: https://shoal.lucaspickering.me/fish

  post:
    method: POST
    url: https://shoal.lucaspickering.me/fish
    body:
      type: json
      data:
        {
          "name": "Barry Bartlett",
          "species": "Barracuda",
          "age": 3,
          "weight_kg": 6.2,
        }

Slumber docs provides extensive examples.

OpenAPI TUI

List, browse and run APIs defined with OpenAPI v3.0 and v3.1 specification.

Open with local or remote YAML or JSON specification file.

# open local yaml file
❯ openapi-tui -i examples/stripe/spec.yml

# open local json file
❯ openapi-tui -i examples/petstore.json

# open remote file
❯ openapi-tui -i https://raw.githubusercontent.com/github/rest-api-description/main/descriptions-next/api.github.com/api.github.com.yaml

https://github.com/zaghaghi/openapi-tui

https://github.com/zaghaghi/openapi-tui/raw/main/static/demo.gif

Install: GitHub Release binary - DRA

ATAC

API Client based on well-known clients such as Postman, Insomnia, or Bruno, but inside your terminal without any specific graphical environment needed.

https://github.com/Julien-cpsn/ATAC

https://github.com/Julien-cpsn/ATAC/raw/main/gifs/demo.gif

Install: DRA from GitHub Release

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions