Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opsgenie-sdk

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opsgenie-sdk

OpsGenie Node.js SDK

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.2K
increased by14.97%
Maintainers
2
Weekly downloads
 
Created
Source

OpsGenie Node.js SDK

npm version Dependency Status

This is the repository for Node.js SDK of OpsGenie.

Aim and Scope

OpsGenie Node.js SDK aims to access OpsGenie Web API through HTTP calls from Node.js applications.

OpsGenie Node.js SDK covers:

  • Alert API v2
  • Alert API
  • User API
  • Group API
  • Team API
  • Escalation API (TODO: will be available soon)
  • Schedule API (TODO: will be available soon)
  • Schedule Override API (TODO: will be available soon)
  • Forwarding Rule API (TODO: will be available soon)
  • Heartbeat API (TODO: will be available soon)
  • Integration API (TODO: will be available soon)
  • Policy API (TODO: will be available soon)

Future releases are subject to be delivered for packing more APIs soon.

Installation

Node.js version >=0.6.x is required.

npm install opsgenie-sdk

Getting Started

var opsgenie = require('opsgenie-sdk');

opsgenie.configure({
    'api_key': 'your_api_key'
});
var get_alert_identifier = {
    identifier : "alert_id",
    identifierType : "id"
};

opsgenie.alertV2.get(get_alert_identifier, function (error, alert) {
    if (error) {
        // handle error
    } else {
        console.log("Alert data received", alert);
    }
});

Samples

More samples can be found under /samples directory

Also, checkout "Node.js SDK page" for detailed documentation

Keywords

FAQs

Package last updated on 08 Jun 2017

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