-
Notifications
You must be signed in to change notification settings - Fork 9
Wikipedia API
Damjan Pavlica edited this page Mar 21, 2018
·
3 revisions
- param
titles
: title of a wiki page - param
pithumbsize
: image size
-
titles
: title of a wiki page, i.e. person name -
exintro
: only introductory pagragraph, not a whole article -
explaintext
: plan text, instead of HTML
-
redirects=1
allows redirection. Without it, there's no response if page was renamed. -
origin=*
solves CORS problem.
With one API request we can get information from multiple wiki pages (up to 50). We just need to connect params with pipes |
, for example: titles=Socrates|Aristotle|Plato