0

when I get return from this url;

http://tr.wikipedia.org/w/api.php?action=query&prop=info&titles=Yavuz%20Bahad%C4%B1ro%C4%9Flu

returned content doesnt contain information in title (=Yavuz%20Bahad%C4%B1ro%C4%9Flu) but it contains page id to display actual information page relevant to title.

my actual demand is all information on this page;

http://tr.wikipedia.org/wiki/Yavuz_Bahad%C4%B1ro%C4%9Flu

How can I get json inf. from this page or with page id?

svick
  • 236,525
  • 50
  • 385
  • 514
advise2me
  • 75
  • 1
  • 8
  • I had tried to realize wikipedia api but I couldnt overcome. I used like this http://tr.wikipedia.org/w/api.php?action=query&prop=info&titles=Yavuz%20Bahad%C4%B1ro%C4%9Flu – advise2me Dec 24 '13 at 18:45
  • Well perhaps you should open a question related to the specific problems you were having with the wikipedia API. As it stands now, there is really no specific question here to provide answer to. You have been pointed in the right direction, you just need to try to work with the API. – Mike Brant Dec 24 '13 at 18:47
  • Thanks I will change content of my question :) – advise2me Dec 24 '13 at 18:49
  • What exactly do you mean by "all information"? Do you want to get the text of the page as wikitext? Or as HTML? Or something else? – svick Dec 24 '13 at 23:44
  • I want text actually. But all text of content not only page id like this page : http://tr.wikipedia.org/w/api.php?action=query&prop=info&titles=Yavuz%20Bahad%C4%B1ro%C4%9Flu – advise2me Dec 25 '13 at 17:57

0 Answers0