Permalink
Browse files

Adding some documentation

  • Loading branch information...
1 parent b9c325d commit 8f88b4ef002844ce3fab7d8ee2b520061ac3aedb @abh1nav abh1nav committed Sep 8, 2012
Showing with 9 additions and 3 deletions.
  1. +9 −3 src/scripts/asana.coffee
View
12 src/scripts/asana.coffee
@@ -5,16 +5,22 @@
# None
#
# Configuration:
-# HUBOT_ASANA_WORKSPACE_ID
-# HUBOT_ASANA_PROJECT_ID
-# HUBOT_ASANA_API_KEY
+# HUBOT_ASANA_API_KEY - find this in Account Settings -> API
+#
+# HUBOT_ASANA_WORKSPACE_ID - list all workspaces using
+# curl -u <api_key>: https://app.asana.com/api/1.0/workspaces
+# (note the colon after the api key)
+#
+# HUBOT_ASANA_PROJECT_ID - list all projects in the workspace using:
+# curl -u <api_key>: https://app.asana.com/api/1.0/workspaces/<workspace id>/projects
#
# Commands:
# todo: @name? <task directive> - public message starting with todo: will add task, optional @name to assign task
# hubot todo users - Message the bot directly to list all available users in the workspace
#
# Author:
# idpro
+# abh1nav
url = 'https://app.asana.com/api/1.0'

0 comments on commit 8f88b4e

Please sign in to comment.