Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.35 KB

File metadata and controls

56 lines (37 loc) · 1.35 KB

Postman Content Exporter

This repository contains tools for exporting Postman collections, environments, and workspace information via the Postman API.

Features

  • Export Postman collections and environments
  • Generate workspace admin reports
  • Interactive shell scripts for easy usage

Prerequisites

  • Node.js (v14 or later recommended)
  • A Postman API key with read access to your collections, environments, and workspaces

Setup

  1. Install dependencies:

    npm install
    
  2. Set your Postman API key as an environment variable:

    export POSTMAN_API_KEY="your-api-key-here"
    

Quick Start

Exporting Collections and Environments

Run the interactive shell script:

./export-content/run-export.sh

For more detailed information, please check the export-content README.

Generating Workspace Admin Reports

You can generate a report listing all the admin users for all the workspaces your API key has access to.

image

Run the interactive shell script:

./get-workspace-admins/run-admin-report.sh

Or use npm:

npm run admin-report

For more detailed information, please check the get-workspace-admins README.