mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-03 08:30:03 +00:00
517837b3a1
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 |