Notebook
MediaWiki REST API docs
Discuss
| Fork
this notebook
on
PAWS
Search Wikipedia articles
The
MediaWiki REST API
lets you build apps and scripts that interact with any MediaWiki-based wiki. In this tutorial, we'll use the REST API search endpoints to search for articles about the Solar System on
English Wikipedia
To access English Wikipedia, we'll use English Wikipedia's domain (
en.wikipedia.org
) and the REST API v1 URL (
/w/rest.php/v1
). To search a different Wikipedia, change the
language code
from
en
to the language you'd like to search. For example,
ru.wikipedia.org
for Russian Wikipedia or
vi.wikipedia.org
for Vietnamese Wikipedia.
To keep the results manageable, we'll use the
limit
parameter to restrict the response to three results. The search pages endpoint returns an array of page objects, giving us information about each article. The
title
property gives us the article title as it appears on the page, while the
key
property gives us the title in URL-friendly format. We can use the
key
to construct the URL for the article using English Wikipedia's domain and article path (
/wiki
).
In [1]:
import
requests
import
json
search_query
'solar system'
number_of_results
endpoint
'search/page'
base_url
'https://en.wikipedia.org/w/rest.php/v1/'
# See https://www.mediawiki.org/wiki/API:REST_API#Client_identification
headers
'User-Agent'
'MediaWiki REST API docs examples/0.1 (https://meta.wikimedia.org/wiki/User:APaskulin_(WMF))'
url
base_url
endpoint
response
requests
get
url
headers
headers
params
'q'
search_query
'limit'
number_of_results
})
data
response
json
()
for
page
in
data
'pages'
]:
page
'title'
])
'https://en.wikipedia.org/wiki/'
page
'key'
])
()
Solar System

Formation and evolution of the Solar System

List of Solar System objects by size
Now that we have a simple list of search results, we can use other properties of the page object to add more detail.
description
provides a short summary of the topic, generated from the article's corresponding entry on
Wikidata
. If a Wikidata entry isn't available,
description
will be
null
, so we'll need to account for this when adding descriptions to our search results.
In [2]:
for
page
in
data
'pages'
]:
page
'title'
])
'https://en.wikipedia.org/wiki/'
page
'key'
])
if
page
'description'
is
not
None
page
'description'
])
()
Solar System
Planetary system consisting of the Sun and objects orbiting it

Formation and evolution of the Solar System

List of Solar System objects by size
Largest objects of the Solar System
To get more information about how the article relates to the search query, we can use the
excerpt
property, which gives us a few lines from the article in HTML. In the excerpt, search terms are highlighted with span tags of
class="searchmatch"
to make them easy to style in your app. For example, here's the excerpt for the last article in our search results.
In [3]:
page
'excerpt'
])
This article includes a list of the most massive known objects of the Solar System and partial lists of smaller objects by observed mean radius. These lists
For this notebook, we can import the
HTML class
from the IPython display module to render the titles and excerpts nicely.
In [4]:
from
IPython.display
import
HTML
for
page
in
data
'pages'
]:
display
HTML
''
page
'title'
'
'
))
display
HTML
page
'excerpt'
]))
Solar System
The
Solar
System
is the gravitationally bound
system
of the Sun and the masses that orbit it, most prominently its eight planets, of which Earth is one
Formation and evolution of the Solar System
There is evidence that the formation of the
Solar
System
began about 4.6 billion years ago with the gravitational collapse of a small part of a giant molecular
List of Solar System objects by size
This article includes a list of the most massive known objects of the
Solar
System
and partial lists of smaller objects by observed mean radius. These lists
To add images to our search results, we can use the
thumbnail
object's
url
height
, and
width
properties. Like
description
thumbnail
will be
null
if no thumbnail is available. To account for this, we'll use a
try
statement that substitutes a default image of the Wikipedia globe in case of an exception. To render the image, we'll import the
Image class
from the IPython display module.
In [5]:
from
IPython.display
import
Image
for
page
in
data
'pages'
]:
display
HTML
''
page
'title'
'
'
))
display
HTML
page
'excerpt'
]))
try
thumbnail_url
'https:'
page
'thumbnail'
][
'url'
display
Image
data
thumbnail_url
width
page
'thumbnail'
][
'width'
],
height
page
'thumbnail'
][
'height'
]))
except
default_thumbnail
'https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/200px-Wikipedia-logo-v2.svg.png'
display
Image
data
default_thumbnail
width
150
height
136
))
Solar System
The
Solar
System
is the gravitationally bound
system
of the Sun and the masses that orbit it, most prominently its eight planets, of which Earth is one
Formation and evolution of the Solar System
There is evidence that the formation of the
Solar
System
began about 4.6 billion years ago with the gravitational collapse of a small part of a giant molecular
List of Solar System objects by size
This article includes a list of the most massive known objects of the
Solar
System
and partial lists of smaller objects by observed mean radius. These lists
So far, we've used the search pages endpoint, which searches the
content
of pages for the most relevant results. But in some cases, you may want results that are based on the page
title
, such as creating a
typeahead
search that automatically suggests relevant pages by title.
Here's an example of the same search using the autocomplete page title endpoint. However, since this endpoint is designed for quicker searching, it doesn't include an excerpt, so we'll need to remove it from the output.
In [6]:
endpoint
'search/title'
url
base_url
endpoint
response
requests
get
url
headers
headers
params
'q'
search_query
'limit'
number_of_results
})
data
response
json
()
for
page
in
data
'pages'
]:
display
HTML
''
page
'title'
'
'
))
try
thumbnail_url
'https:'
page
'thumbnail'
][
'url'
display
Image
data
thumbnail_url
width
page
'thumbnail'
][
'width'
],
height
page
'thumbnail'
][
'height'
]))
except
default_thumbnail
'https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/200px-Wikipedia-logo-v2.svg.png'
display
Image
data
default_thumbnail
width
150
height
136
))
Solar System
Solar System in fiction
Solar System model
Seach languages
Wikipedia is available in over 300 languages. Now that we have the title of the Solar System article, we can use the language links endpoint to find articles with the same topic in other languages and generate links to those articles.
In [7]:
title
'Solar System'
endpoint
'page/'
title
'/links/language'
url
base_url
endpoint
response
requests
get
url
headers
headers
data
response
json
()
for
language
in
data
{name}
: https://
{code}
.wikipedia.org/wiki/
{title}
format
name
language
'name'
],
code
language
'code'
],
title
language
'key'
]))
Acèh: https://ace.wikipedia.org/wiki/Sistem_mata_uroe
Afrikaans: https://af.wikipedia.org/wiki/Sonnestelsel
Alemannisch: https://als.wikipedia.org/wiki/Sonnensystem
алтай тил: https://alt.wikipedia.org/wiki/Кӱнниҥ_системазы
አማርኛ: https://am.wikipedia.org/wiki/የፀሐይ_ሥርዓተ_ፈለክ
aragonés: https://an.wikipedia.org/wiki/Sistema_Solar
Ænglisc: https://ang.wikipedia.org/wiki/Sunnlicu_Endebyrdnes
Obolo: https://ann.wikipedia.org/wiki/Ọgbọn̄_Ura
अंगिका: https://anp.wikipedia.org/wiki/सौरमंडल
العربية: https://ar.wikipedia.org/wiki/المجموعة_الشمسية
الدارجة: https://ary.wikipedia.org/wiki/النضام_الشمسي
مصرى: https://arz.wikipedia.org/wiki/نظام_شمسى
অসমীয়া: https://as.wikipedia.org/wiki/সৌৰজগত
asturianu: https://ast.wikipedia.org/wiki/Sistema_Solar
अवधी: https://awa.wikipedia.org/wiki/सौर_मण्डल
azərbaycanca: https://az.wikipedia.org/wiki/Günəş_sistemi
تۆرکجه: https://azb.wikipedia.org/wiki/گونش_سیستمی
башҡортса: https://ba.wikipedia.org/wiki/Ҡояш_системаһы
Basa Bali: https://ban.wikipedia.org/wiki/Tata_Surya
Boarisch: https://bar.wikipedia.org/wiki/Sunsystem
žemaitėška: https://bat-smg.wikipedia.org/wiki/Saulės_sėstema
Bikol Central: https://bcl.wikipedia.org/wiki/Sistemang_Solar
беларуская: https://be.wikipedia.org/wiki/Сонечная_сістэма
беларуская (тарашкевіца): https://be-x-old.wikipedia.org/wiki/Сонечная_сыстэма
Betawi: https://bew.wikipedia.org/wiki/Tata_Kemataarian
български: https://bg.wikipedia.org/wiki/Слънчева_система
भोजपुरी: https://bh.wikipedia.org/wiki/सौर_मंडल
Banjar: https://bjn.wikipedia.org/wiki/Tata_Surya
বাংলা: https://bn.wikipedia.org/wiki/সৌরজগৎ
བོད་ཡིག: https://bo.wikipedia.org/wiki/ཉི་མའི་ཁྱིམ་རྒྱུད།
বিষ্ণুপ্রিয়া মণিপুরী: https://bpy.wikipedia.org/wiki/সৌরজগত
brezhoneg: https://br.wikipedia.org/wiki/Koskoriad_an_Heol
bosanski: https://bs.wikipedia.org/wiki/Sunčev_sistem
Batak Mandailing: https://btm.wikipedia.org/wiki/Tata_surya
буряад: https://bxr.wikipedia.org/wiki/Наранай_аймаг
català: https://ca.wikipedia.org/wiki/Sistema_solar
閩東語 / Mìng-dĕ̤ng-ngṳ̄: https://cdo.wikipedia.org/wiki/Tái-iòng-hiê
нохчийн: https://ce.wikipedia.org/wiki/Маьлхан_система
Cebuano: https://ceb.wikipedia.org/wiki/Sistemang_Solar
ᏣᎳᎩ: https://chr.wikipedia.org/wiki/ᏅᏓ_ᎠᎴ_ᏚᏓᏕᏫᏍᏛ
کوردی: https://ckb.wikipedia.org/wiki/سیستمی_خۆری
corsu: https://co.wikipedia.org/wiki/Sistema_solare
qırımtatarca: https://crh.wikipedia.org/wiki/Küneş_sistemi
čeština: https://cs.wikipedia.org/wiki/Sluneční_soustava
kaszëbsczi: https://csb.wikipedia.org/wiki/Słuńcowi_Ùstôw
чӑвашла: https://cv.wikipedia.org/wiki/Хĕвел_тавраш_тытăмĕ
Cymraeg: https://cy.wikipedia.org/wiki/Cysawd_yr_Haul
dansk: https://da.wikipedia.org/wiki/Solsystemet
Deutsch: https://de.wikipedia.org/wiki/Sonnensystem
Zazaki: https://diq.wikipedia.org/wiki/Sistemê_Roci
डोटेली: https://dty.wikipedia.org/wiki/सौर्यमण्डल
ދިވެހިބަސް: https://dv.wikipedia.org/wiki/އިރަވީ_ނިޒާމު
Ελληνικά: https://el.wikipedia.org/wiki/Ηλιακό_σύστημα
emiliàn e rumagnòl: https://eml.wikipedia.org/wiki/Sistéma_sulàr
Esperanto: https://eo.wikipedia.org/wiki/Sunsistemo
español: https://es.wikipedia.org/wiki/Sistema_solar
eesti: https://et.wikipedia.org/wiki/Päikesesüsteem
euskara: https://eu.wikipedia.org/wiki/Eguzki-sistema
estremeñu: https://ext.wikipedia.org/wiki/Sistema_Solal
فارسی: https://fa.wikipedia.org/wiki/منظومه_شمسی
Fulfulde: https://ff.wikipedia.org/wiki/Njuɓɓudi_naangeyankoori
suomi: https://fi.wikipedia.org/wiki/Aurinkokunta
võro: https://fiu-vro.wikipedia.org/wiki/Pääväsüstem
Na Vosa Vakaviti: https://fj.wikipedia.org/wiki/Ivakarau_Solar
føroyskt: https://fo.wikipedia.org/wiki/Sólskipanin
français: https://fr.wikipedia.org/wiki/Système_solaire
arpetan: https://frp.wikipedia.org/wiki/Sistèmo_solèro
Nordfriisk: https://frr.wikipedia.org/wiki/Sansüsteem
furlan: https://fur.wikipedia.org/wiki/Sisteme_solâr
Frysk: https://fy.wikipedia.org/wiki/Sinnestelsel
Gaeilge: https://ga.wikipedia.org/wiki/Grianchóras
贛語: https://gan.wikipedia.org/wiki/太陽系
kriyòl gwiyannen: https://gcr.wikipedia.org/wiki/Sistèm_solèr
Gàidhlig: https://gd.wikipedia.org/wiki/An_Crios-Grèine
galego: https://gl.wikipedia.org/wiki/Sistema_solar
گیلکی: https://glk.wikipedia.org/wiki/خۊري_منظۊمه
Avañe'ẽ: https://gn.wikipedia.org/wiki/Kuarahy_Ypykatu
Bahasa Hulontalo: https://gor.wikipedia.org/wiki/Tata_Surya
ગુજરાતી: https://gu.wikipedia.org/wiki/સૂર્યમંડળ
wayuunaiki: https://guc.wikipedia.org/wiki/Sistema_Solar
Gaelg: https://gv.wikipedia.org/wiki/Corys_ny_Greiney
Hausa: https://ha.wikipedia.org/wiki/Tsarin_hasken_rana
客家語 / Hak-kâ-ngî: https://hak.wikipedia.org/wiki/Thai-yòng-hi
Hawaiʻi: https://haw.wikipedia.org/wiki/Kahua_o_nā_hōkū
עברית: https://he.wikipedia.org/wiki/מערכת_השמש
हिन्दी: https://hi.wikipedia.org/wiki/सौर_मण्डल
Fiji Hindi: https://hif.wikipedia.org/wiki/Saur_Mandal
hrvatski: https://hr.wikipedia.org/wiki/Sunčev_sustav
Kreyòl ayisyen: https://ht.wikipedia.org/wiki/Sistèm_solè
magyar: https://hu.wikipedia.org/wiki/Naprendszer
հայերեն: https://hy.wikipedia.org/wiki/Արեգակնային_համակարգ
Արեւմտահայերէն: https://hyw.wikipedia.org/wiki/Արեգակնային_Դրութիւն
interlingua: https://ia.wikipedia.org/wiki/Systema_solar
Bahasa Indonesia: https://id.wikipedia.org/wiki/Tata_Surya
Interlingue: https://ie.wikipedia.org/wiki/Solari_sistema
Ilokano: https://ilo.wikipedia.org/wiki/Sistema_a_Solar
гӀалгӀай: https://inh.wikipedia.org/wiki/Маьлха_ков
Ido: https://io.wikipedia.org/wiki/Sunala_sistemo
íslenska: https://is.wikipedia.org/wiki/Sólkerfið
italiano: https://it.wikipedia.org/wiki/Sistema_solare
日本語: https://ja.wikipedia.org/wiki/太陽系
Patois: https://jam.wikipedia.org/wiki/Suola_Sistim
la .lojban.: https://jbo.wikipedia.org/wiki/Solri_ciste
Jawa: https://jv.wikipedia.org/wiki/Tata_Surya
ქართული: https://ka.wikipedia.org/wiki/მზის_სისტემა
Taqbaylit: https://kab.wikipedia.org/wiki/Anagraw_afukan
Kabɩyɛ: https://kbp.wikipedia.org/wiki/Wɩsɩ_cejewiye
Tyap: https://kcg.wikipedia.org/wiki/Si̱tem_Mam
қазақша: https://kk.wikipedia.org/wiki/Күн_жүйесі
ភាសាខ្មែរ: https://km.wikipedia.org/wiki/ប្រព័ន្ធព្រះអាទិត្យ
ಕನ್ನಡ: https://kn.wikipedia.org/wiki/ಸೌರಮಂಡಲ
Yerwa Kanuri: https://knc.wikipedia.org/wiki/Solar_System
한국어: https://ko.wikipedia.org/wiki/태양계
къарачай-малкъар: https://krc.wikipedia.org/wiki/Кюн_система
کٲشُر: https://ks.wikipedia.org/wiki/سيٖری_منڈُل
Ripoarisch: https://ksh.wikipedia.org/wiki/Sunnesystem
kurdî: https://ku.wikipedia.org/wiki/Pergala_Rojê
коми: https://kv.wikipedia.org/wiki/Шонді_ылдӧс
kernowek: https://kw.wikipedia.org/wiki/System_howlek
кыргызча: https://ky.wikipedia.org/wiki/Күн_тутуму
Latina: https://la.wikipedia.org/wiki/Systema_solare
Ladino: https://lad.wikipedia.org/wiki/Sistem_solar
Lëtzebuergesch: https://lb.wikipedia.org/wiki/Sonnesystem
лезги: https://lez.wikipedia.org/wiki/Ракъинин_система
Lingua Franca Nova: https://lfn.wikipedia.org/wiki/Sistem_solal
Limburgs: https://li.wikipedia.org/wiki/Zonnestèlsel
Ligure: https://lij.wikipedia.org/wiki/Scistema_Solâre
Ladin: https://lld.wikipedia.org/wiki/Sistem_soler
lombard: https://lmo.wikipedia.org/wiki/Sistema_Solar
lingála: https://ln.wikipedia.org/wiki/Minzɔ́tɔ_mwa_Mói
ລາວ: https://lo.wikipedia.org/wiki/ລະບົບສຸລິຍະ
lietuvių: https://lt.wikipedia.org/wiki/Saulės_sistema
latviešu: https://lv.wikipedia.org/wiki/Saules_sistēma
Madhurâ: https://mad.wikipedia.org/wiki/Tata_mata_arè
मैथिली: https://mai.wikipedia.org/wiki/सौर्य_परिवार
Basa Banyumasan: https://map-bms.wikipedia.org/wiki/Tata_Surya
Malagasy: https://mg.wikipedia.org/wiki/Rafi-masoandro
Minangkabau: https://min.wikipedia.org/wiki/Tata_Surya
македонски: https://mk.wikipedia.org/wiki/Сончев_Систем
മലയാളം: https://ml.wikipedia.org/wiki/സൗരയൂഥം
монгол: https://mn.wikipedia.org/wiki/Нарны_аймаг
मराठी: https://mr.wikipedia.org/wiki/सूर्यमाला
Bahasa Melayu: https://ms.wikipedia.org/wiki/Sistem_Suria
Malti: https://mt.wikipedia.org/wiki/Sistema_Solari
Mirandés: https://mwl.wikipedia.org/wiki/Sistema_Solar
မြန်မာဘာသာ: https://my.wikipedia.org/wiki/နေအဖွဲ့အစည်း
эрзянь: https://myv.wikipedia.org/wiki/Чинь_система
مازِرونی: https://mzn.wikipedia.org/wiki/خورشیدی_منظومه
Nāhuatl: https://nah.wikipedia.org/wiki/Tonatiuh_ichan
Napulitano: https://nap.wikipedia.org/wiki/Sistema_solare
Plattdüütsch: https://nds.wikipedia.org/wiki/Sünnsystem
Nedersaksies: https://nds-nl.wikipedia.org/wiki/Zunnesysteem
नेपाली: https://ne.wikipedia.org/wiki/सौर्यमण्डल
नेपाल भाषा: https://new.wikipedia.org/wiki/सुर्द्यः_मन्दः
Nederlands: https://nl.wikipedia.org/wiki/Zonnestelsel
norsk nynorsk: https://nn.wikipedia.org/wiki/Solsystemet
norsk: https://no.wikipedia.org/wiki/Solsystemet
Novial: https://nov.wikipedia.org/wiki/Sunal_sisteme
ߒߞߏ: https://nqo.wikipedia.org/wiki/ߕߟߋ߬_ߞߊ߲ߞߋ
occitan: https://oc.wikipedia.org/wiki/Sistèma_Solar
livvinkarjala: https://olo.wikipedia.org/wiki/Päiväzensistiemu
Oromoo: https://om.wikipedia.org/wiki/Sirna_Biiftuu
ଓଡ଼ିଆ: https://or.wikipedia.org/wiki/ସୌର_ଜଗତ
ирон: https://os.wikipedia.org/wiki/Хуры_системæ
ਪੰਜਾਬੀ: https://pa.wikipedia.org/wiki/ਸੂਰਜ_ਮੰਡਲ
Kapampangan: https://pam.wikipedia.org/wiki/Sistemang_solar
Picard: https://pcd.wikipedia.org/wiki/Sistème_solère
Naijá: https://pcm.wikipedia.org/wiki/Sola_system
polski: https://pl.wikipedia.org/wiki/Układ_Słoneczny
Piemontèis: https://pms.wikipedia.org/wiki/Sistema_solar
پنجابی: https://pnb.wikipedia.org/wiki/سورجی_نظام
پښتو: https://ps.wikipedia.org/wiki/لمريز_غونډال
português: https://pt.wikipedia.org/wiki/Sistema_Solar
Runa Simi: https://qu.wikipedia.org/wiki/Inti_Llikacha
rumantsch: https://rm.wikipedia.org/wiki/Sistem_solar
romani čhib: https://rmy.wikipedia.org/wiki/Kham-Sestemi
română: https://ro.wikipedia.org/wiki/Sistemul_solar
armãneashti: https://roa-rup.wikipedia.org/wiki/Sistemlu_solaru
русский: https://ru.wikipedia.org/wiki/Солнечная_система
русиньскый: https://rue.wikipedia.org/wiki/Сонячна_сістема
संस्कृतम्: https://sa.wikipedia.org/wiki/सूर्यमण्डलम्
саха тыла: https://sah.wikipedia.org/wiki/Күн_систиэмэтэ
ᱥᱟᱱᱛᱟᱲᱤ: https://sat.wikipedia.org/wiki/ᱥᱤᱧ_ᱪᱟᱸᱫᱚ_ᱢᱟᱱᱰᱮᱨ
sardu: https://sc.wikipedia.org/wiki/Sistema_solari
sicilianu: https://scn.wikipedia.org/wiki/Sistema_sulari
Scots: https://sco.wikipedia.org/wiki/Solar_System
سنڌي: https://sd.wikipedia.org/wiki/آڪاش_منڊل
davvisámegiella: https://se.wikipedia.org/wiki/Beaivvášgoddi
srpskohrvatski / српскохрватски: https://sh.wikipedia.org/wiki/Sunčev_sistem
Taclḥit: https://shi.wikipedia.org/wiki/Angraw_anafuk
සිංහල: https://si.wikipedia.org/wiki/සෞරග්‍රහ_මණ්ඩලය
Simple English: https://simple.wikipedia.org/wiki/Solar_System
slovenčina: https://sk.wikipedia.org/wiki/Slnečná_sústava
سرائیکی: https://skr.wikipedia.org/wiki/نظام_شمسی
slovenščina: https://sl.wikipedia.org/wiki/Osončje
anarâškielâ: https://smn.wikipedia.org/wiki/Piäiváškodde
chiShona: https://sn.wikipedia.org/wiki/Mutandira_weZuva
Soomaaliga: https://so.wikipedia.org/wiki/Bahda_Qoraxdu_Midaysay
shqip: https://sq.wikipedia.org/wiki/Sistemi_diellor
српски / srpski: https://sr.wikipedia.org/wiki/Сунчев_систем
Seeltersk: https://stq.wikipedia.org/wiki/Sunnensystem
Sunda: https://su.wikipedia.org/wiki/Surya_Mandala
svenska: https://sv.wikipedia.org/wiki/Solsystemet
Kiswahili: https://sw.wikipedia.org/wiki/Mfumo_wa_Jua
ślůnski: https://szl.wikipedia.org/wiki/Słůneczny_Ukłod
தமிழ்: https://ta.wikipedia.org/wiki/சூரியக்_குடும்பம்
ತುಳು: https://tcy.wikipedia.org/wiki/ಸೌರಮಂಡಲೊ
తెలుగు: https://te.wikipedia.org/wiki/సౌర_కుటుంబం
tetun: https://tet.wikipedia.org/wiki/Sistema_Solár
тоҷикӣ: https://tg.wikipedia.org/wiki/Манзумаи_офтобӣ
ไทย: https://th.wikipedia.org/wiki/ระบบสุริยะ
Türkmençe: https://tk.wikipedia.org/wiki/Gün_ulgamy
Tagalog: https://tl.wikipedia.org/wiki/Sistemang_Solar
tolışi: https://tly.wikipedia.org/wiki/Həši_sistem
lea faka-Tonga: https://to.wikipedia.org/wiki/Famili_ʻo_e_laʻā
toki pona: https://tok.wikipedia.org/wiki/Kulupu_mun_mi
Türkçe: https://tr.wikipedia.org/wiki/Güneş_Sistemi
татарча / tatarça: https://tt.wikipedia.org/wiki/Кояш_системасы
chiTumbuka: https://tum.wikipedia.org/wiki/Kanozgero_ka_nyenyezi
тыва дыл: https://tyv.wikipedia.org/wiki/Хүн_системазы
удмурт: https://udm.wikipedia.org/wiki/Шунды_система
ئۇيغۇرچە / Uyghurche: https://ug.wikipedia.org/wiki/قۇياش_سىستېمىسى
українська: https://uk.wikipedia.org/wiki/Сонячна_система
اردو: https://ur.wikipedia.org/wiki/نظام_شمسی
oʻzbekcha / ўзбекча: https://uz.wikipedia.org/wiki/Quyosh_tizimi
vèneto: https://vec.wikipedia.org/wiki/Sistema_sołare
vepsän kel’: https://vep.wikipedia.org/wiki/Päiväižen_sistem
Tiếng Việt: https://vi.wikipedia.org/wiki/Hệ_Mặt_Trời
West-Vlams: https://vls.wikipedia.org/wiki/Zunnestelsel
Volapük: https://vo.wikipedia.org/wiki/Solasit
walon: https://wa.wikipedia.org/wiki/Sistinme_solrece
Winaray: https://war.wikipedia.org/wiki/Sistema_solar
Wolof: https://wo.wikipedia.org/wiki/Nosteg_jant
吴语: https://wuu.wikipedia.org/wiki/太阳系
მარგალური: https://xmf.wikipedia.org/wiki/ბჟაშ_სისტემა
ייִדיש: https://yi.wikipedia.org/wiki/זון_סיסטעם
Yorùbá: https://yo.wikipedia.org/wiki/Sístẹ̀mù_Òrùn
ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ: https://zgh.wikipedia.org/wiki/ⴰⵏⴳⵔⴰⵡ_ⴰⴼⵓⴽⴰⵏ
中文: https://zh.wikipedia.org/wiki/太阳系
文言: https://zh-classical.wikipedia.org/wiki/太陽系
閩南語 / Bân-lâm-gí: https://zh-min-nan.wikipedia.org/wiki/Thài-iông-hē
粵語: https://zh-yue.wikipedia.org/wiki/太陽系
isiZulu: https://zu.wikipedia.org/wiki/Uzungezohlelo_lweLanga
You should now be able to use the REST API search endpoints to create a Wikipedia search app. You can also use these endpoints with any Wikimedia projects; try searching for
dictionary entries
famous quotes
, and
more
To fork, edit, and re-run this Jupyter Notebook, download the
source
, and upload to
PAWS
using your Wikimedia account.
For more information about these endpoints, see the
API reference
. To share your feedback on this tutorial, post a comment to the
REST API discussion page
Image credits:
This tutorial is licensed under the
Creative Commons Attribution-ShareAlike License