diff --git a/index.html b/index.html index cdab18b..5b0288c 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,8 @@ document.addEventListener("DOMContentLoaded", function(){hljs.initHighlightingOn
invite users via e-mail
+an array of email addresses to send invites to
+function(err, res)
+var dogapi = require("dogapi");
+var options = {
+ api_key: "api_key",
+ app_key: "app_key"
+};
+dogapi.initialize(options);
+var emails = ["me@domain.com", "you@domain.com"];
+dogapi.user.invite(emails, fuction(err, res){
+ console.dir(res):
+});
+
+configure the dogapi client with your app/api keys