UNPKG
node-updown
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Transparent Node.JS wrapper for the updown.io API
github.com/woubuc/node-updown
woubuc/node-updown
node-updown
/
lib
/
api
/
getDowntimes.d.ts
9 lines
(8 loc)
•
299 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Downtime
}
from
'../types/Downtime'
;
export
interface
GetDowntimesOptions
{
/** * The page to fetch (100 results per page) */
page
?:
number
; }
export
declare
function
getDowntimes
(
apiKey
:
string
,
token
:
string
,
options
?:
GetDowntimesOptions
):
Promise
<
Downtime
[]>;