New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

agcod

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agcod

Node.js api for the Amazon Gift Codes On Demand Web Services

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
35
decreased by-49.28%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js api gateway to the Amazon Giftcard On Demand Web service

Install

npm install agcod

Configuration

Create a development.json, sandbox.json and production.json in the config directory that looks like example.json.

Usage

const Client = require('agcod')
const client = new Client()

client.createGiftCard('NA', 123, 'USD', (error, result) => {
  console.log('client.createGiftCard response', error, result)
})

Tests

During tests requests are intercepted by nock and responds with a desired response code and contents.

  • https://davidwalsh.name/nock
  • https://github.com/node-nock/nock

Nota Bene

  • This client needs to operate under TLS 1.2 or after June 30th, 2018 API requests will cease to work

Other clients

For reference purposes, here's a list of resources that talk about agcod clients.

Keywords

FAQs

Package last updated on 25 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc