forked from mirrors/org-mode
A quick example of accessing remote json data from Babel code blocks. Evaluate the following to see a listing of parks in DC by ward. #+source: dc-parks #+begin_src emacs-lisp :var keys='(ward address) :var data=json(url="http://ogdi.cloudapp.net/v1/dc/RecreationParks?format=json") (append (list keys 'hline) (mapcar (lambda (lis) (mapcar (lambda (key) (cdr (assoc key lis))) keys)) (cdr (car data)))) #+end_src |
||
---|---|---|
.. | ||
langs | ||
library-of-babel.org |