# aws-apigateway-exporter

> ## Installation

Latest version **0.0.3** (published 2015-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install aws-apigateway-exporter
pnpm add aws-apigateway-exporter
yarn add aws-apigateway-exporter
bun add aws-apigateway-exporter
```

Provides the command `aws-apigateway-exporter`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-12-06 |
| First published | 2015-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | aycabta |

## Links

- npm: https://www.npmjs.com/package/aws-apigateway-exporter
- Repository: https://github.com/aycabta/aws-apigateway-exporter
- Homepage: https://github.com/aycabta/aws-apigateway-exporter#readme
- Issues: https://github.com/aycabta/aws-apigateway-exporter/issues
- npm.io page: https://npm.io/package/aws-apigateway-exporter

## Dependencies (5)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.2.17
- [cli-table](https://npm.io/package/cli-table.md) ^0.3.1
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [aws-sdk-promise](https://npm.io/package/aws-sdk-promise.md) ^0.0.2
- [aws-sdk-config-loader](https://npm.io/package/aws-sdk-config-loader.md) ^0.3.1

## Recent versions

- 0.0.3 (latest) — 2015-12-06
- 0.0.2 — 2015-11-29
- 0.0.1 — 2015-11-23

## README

# AWS API Gateway Exporter

## Installation

At the start, you need to set up `~/.aws/credentials` and `~/.aws/config` what `aws-sdk` read:

```sh
$ aws configure
```

Next, run it:

```sh
$ npm install -g aws-apigateway-exporter
```

## Usage

If you run without options, it shows REST API list:

```sh
$ aws-apigateway-exporter 
Specify --rest-api option

REST APIs:
┌──────────────────┬────────────┐
│ name             │ ID         │
├──────────────────┼────────────┤
│ Swagger Petstore │ wow1veryID │
├──────────────────┼────────────┤
│ api-test         │ soIDmuchID │
└──────────────────┴────────────┘
```

If you run with only `--rest-api` option, it shows Stage list:

```sh
$ aws-apigateway-exporter --rest-api wow1veryID
Specify --stage option

Stages:
┌──────┬────────┐
│ name │ ID     │
├──────┼────────┤
│ prod │ SuchID │
└──────┴────────┘
```

If you run with `--rest-api` and `--stage` optins, it shows [Swagger](http://swagger.io/) JSON:

```sh
$ aws-apigateway-exporter --rest-api wow1veryID --stage SuchID
{
    "swagger": "2.0",
    "info": {
        "version": "1.0.0",
        "title": "Swagger Petstore",
......
```

## LICENSE

MIT

---
_Source: https://npm.io/package/aws-apigateway-exporter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
