From c27d73b0eef5bfac701520361b2183f372101f6f Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Sat, 21 Mar 2015 09:30:19 -0400 Subject: [PATCH] build docs --- index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/index.html b/index.html index a7040d7..cdab18b 100644 --- a/index.html +++ b/index.html @@ -572,6 +572,7 @@ dogapi.client.request("GET", "/url/path", {}, function(err,

dogapi

initialize(options)

@@ -601,6 +602,19 @@ dogapi.event.create(...);
+
+

now()

+
+

get the current POSIX timestamp

+
+
+
var dogapi = require("dogapi");
+dogapi.now();
+// this is the same as
+parseInt(new Date().getTime() / 1000);
+
+
+
Fork me on GitHub