Hi, you can combine multiple pages with the "pipe" sign:
Check:
<https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=jsonfm&titles=Hillary_Clinton|Donald_Trump>
(change 'jsonfm' for 'json' on a real request)
There is a limit on the number of pages depending on your account
rights, but it is very helpful to avoid round-trip latencies for us in
high-latency places.
On Thu, Aug 4, 2016 at 9:34 AM, Toni Hermoso Pulido <toniher(a)cau.cat> wrote:
Hello,
is it already possible to retrieve data from different pages just by
using one request?
E.g by combining:
https://en.wikipedia.org/api/rest_v1/page/summary/Electron
and
https://en.wikipedia.org/api/rest_v1/page/summary/Dog
Thanks!
--
Toni Hermoso Pulido
http://www.cau.cat
http://www.similis.cc
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Jaime Crespo
<http://wikimedia.org>