This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-31
Channels
- # bangalore-clj (3)
- # beginners (15)
- # boot (128)
- # cider (4)
- # cljs-dev (12)
- # cljsjs (1)
- # clojure (105)
- # clojure-austin (5)
- # clojure-canada (6)
- # clojure-italy (5)
- # clojure-russia (14)
- # clojure-spec (70)
- # clojure-uk (21)
- # clojurebridge (3)
- # clojurescript (264)
- # cloverage (6)
- # cursive (4)
- # data-science (6)
- # datomic (10)
- # dirac (5)
- # editors (30)
- # events (3)
- # hoplon (9)
- # klipse (7)
- # leiningen (3)
- # luminus (4)
- # off-topic (9)
- # om (5)
- # om-next (1)
- # onyx (1)
- # parinfer (2)
- # perun (28)
- # re-frame (5)
- # ring (1)
- # rum (11)
- # spacemacs (2)
- # specter (10)
- # sql (3)
- # uncomplicate (4)
- # untangled (67)
- # vim (2)
- # yada (1)
@kumarshantanu there is now 😉 #nightlight
So, in Python there is a library(https://pypi.python.org/pypi/wikipedia/) "...that makes it easy to access and parse data from Wikipedia". Does anyone know if something like this already exists as a Clojure library?
@aaelony What about a Java library? https://www.mediawiki.org/wiki/API:Client_code#Java You might be interested in Clojure-y data structures, though…
Thanks, @rmoehn! I'm seeking functions/methods like search
, geosearch
, summary
, suggest
like in the python API (https://wikipedia.readthedocs.io/en/latest/code.html)... Not too concerned about clojure vs java-interop. I'll have to dig around in link you provided
@aaelony I don't have an open-sourced example in clojure, but their HTTP/REST api is very easy to consume with clj-http (or your favorite clojure http client)
the hardest part is actually figuring out what options their endpoints take, and which endpoints to use, because they have a lot of seemingly incoherent documentation