# apigateway-sdk

> Retrieve the JavaScript AWS API Gateway SDK.

Latest version **0.1.0** (published 2015-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install apigateway-sdk
pnpm add apigateway-sdk
yarn add apigateway-sdk
bun add apigateway-sdk
```

## 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.1.0 |
| Published | 2015-11-25 |
| First published | 2015-11-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Sam Verschueren |
| Maintainers | samverschueren |
| Keywords | aws, apigateway, sdk, zip |

## Links

- npm: https://www.npmjs.com/package/apigateway-sdk
- Repository: https://github.com/samverschueren/api-sdk
- Homepage: https://github.com/samverschueren/api-sdk#readme
- Issues: https://github.com/samverschueren/api-sdk/issues
- npm.io page: https://npm.io/package/apigateway-sdk

## Dependencies (2)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.2.19
- [pinkie-promise](https://npm.io/package/pinkie-promise.md) ^2.0.0

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2015-11-25

## README

# apigateway-sdk [![Build Status](https://travis-ci.org/SamVerschueren/apigateway-sdk.svg?branch=master)](https://travis-ci.org/SamVerschueren/apigateway-sdk)

> Retrieve the JavaScript AWS API Gateway SDK.


## Install

```
$ npm install --save apigateway-sdk
```


## Usage

```js
const apiSdk = require('apigateway-sdk');

apiSdk.config.update({accessKeyId: 'akid', secretAccessKey: 'secret'});

apiSdk({id: '123', stage: 'v1'}).then(data => {
	fs.writeFileSync('apigateway.zip', data);
});
```


## API

### apiSdk(options)

Returns a promise for the `Buffer`.

#### options

##### id

Type: `string`

The API Gateway ID of which you want to download the SDK for.

##### stage

Type: `string`

The stage name of which you want to download the SDK for.

### apiSdk.config

Returns the `aws-sdk` config object in order to [configure](http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html) the AWS SDK.

## License

MIT © [Sam Verschueren](http://github.com/SamVerschueren)

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