如何获得维基百科页面的多语言? [英] How to get wikipedia page in multi languages?
问题描述
我怎样才能得到相同的维基百科页面中的另一种语言。
How can I get the same wikipedia page in another language.
例如我想在日本获得这个页面,
http://en.wikipedia.org/wiki/Cloud
For example I want to get this page in Japanese, http://en.wikipedia.org/wiki/Cloud
结果是
http://ja.wikipedia.org/wiki /云
或只有标题云
http://ja.wikipedia.org/wiki/雲 or only the title 雲
是否有可能使用维基百科的API或任何其他API来做到这一点?
Is it possible to use wikipedia API or any other APIs to do this?
感谢您
推荐答案
郎链接链接到MediaWiki API 可能是你想要的东西。获取其他语言为您的云例如看起来像<一个href=\"http://en.wikipedia.org/w/api.php?action=query&titles=Cloud&prop=langlinks&lllimit=500\">this.
Lang links property of MediaWiki API is probably what you want. Fetching other languages for your cloud example would look like this.
这篇关于如何获得维基百科页面的多语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!