You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI Status: [](https://travis-ci.com/srhtcn/opsgenie-nodejs-sdk)
4
4
5
-
This is the unofficial (for now) NodeJs sdk for OpsGenie.
5
+
This is the repository for Node.js SDK of OpsGenie.
6
+
7
+
## Aim and Scope
8
+
9
+
OpsGenie Node.js SDK aims to access OpsGenie Web API through HTTP calls from Node.js applications.
10
+
11
+
OpsGenie Node.js SDK covers:
12
+
13
+
* Alert API (TODO: only attachFile method is missing)
14
+
* User API
15
+
* Group API
16
+
* Team API
17
+
* Escalation API (TODO: will be available soon)
18
+
* Schedule API (TODO: will be available soon)
19
+
* Schedule Override API (TODO: will be available soon)
20
+
* Forwarding Rule API (TODO: will be available soon)
21
+
* Heartbeat API (TODO: will be available soon)
22
+
* Integration API (TODO: will be available soon)
23
+
* Policy API (TODO: will be available soon)
24
+
25
+
Future releases are subject to be delivered for packing more APIs soon.
26
+
27
+
## Installation
28
+
Node.js version >=0.6.x is required.
29
+
30
+
`npm install opsgenie-sdk`
31
+
32
+
## Getting Started
33
+
34
+
```js
35
+
var opsgenie =require('opsgenie-sdk');
36
+
37
+
opsgenie.configure({
38
+
'api_key':'d1871497-38bc-4222-9063-32062fc6f2f4'
39
+
});
40
+
```
41
+
42
+
```js
43
+
opsgenie.alert.get({id:"request_alert_id"}, function (error, alert) {
0 commit comments