Skip to content

Commit

Permalink
Add notes on bootstrap debugging on org-trello
Browse files Browse the repository at this point in the history
  • Loading branch information
ardumont committed Jul 1, 2015
1 parent d4f7299 commit fca3e84
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions org-trello/debug.org
@@ -0,0 +1,23 @@
#+title: towards debugging org-trello
#+author: ardumont

#+begin_src emacs
M-x ielm <RET>
#+end_src

Set the credentials for your account:
#+begin_src lisp
(let ((org-trello--user-logged-in "<user>")) (orgtrello-controller/load-keys!))
#+end_src
Note: Load in context the credentials from the file `~/.emacs.d/.trello/<user>.el`

Now execute some request to check that the connection is good:
#+begin_src lisp
ELISP> (orgtrello-query/http-trello (orgtrello-api/get-me) 'sync)
#s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data
(:username "ardumont" :url "https://trello.com/ardumont" :status "disconnected" :full-name "Antoine R. Dumont" :id "aabbccddeeffgghhiijjkk"))
#+end_src

Note:
You can have a pretty good idea of org-trello's api by reading the `org-trello-api.el` file.
It's trello's api adapter.

0 comments on commit fca3e84

Please sign in to comment.