Questions tagged [wikipedia-api]

Related to the use of the MediaWiki API on Wikipedia. Consider also the tags [wikipedia] if your question isn't about the API or [mediawiki-api] if your question isn't about Wikipedia.

Documentation for the API is available at mediawiki.org; a summary of all available parameters and short help is available by accessing the API endpoint on the wiki.

In addition, there is a REST API that allows fetching commonly used data in a simple format. A list of all endpoints can be found in the REST API Documentation.

984 questions
-2
votes
1 answer

How to determine if 2 pages are of the same topic but in different languages?

I'm importing wiki pages based on their pageid (or url). Lest's say I've imported a page and I've stored, among others, its language (i.e EN). If I'm to import a translated page of the above EN version, by receiving only a new pageid (or url), how…
Dror Weiss
  • 3,286
  • 6
  • 27
  • 41
-2
votes
1 answer

Getting Wikipedia Page Titles in Json

So I'm trying to get all the title links from a wikipedia page. I've successfully loaded the page in but I'm having trouble going through the JSON to get the titles. Here's the code I'm using. Can someone help? $.ajax({ url:…
Vinny
  • 259
  • 3
  • 10
-3
votes
1 answer

Why is try: except: not working for this particular line of code with python Wikipedia API?

i am trying to execute this very short code that took out from my bigger code because i was having problems with it. I was able to reproduce the problem (it gave the exact same error). BACKGROUND INFO: i am just trying to get the first sentence out…
FireHawkss
  • 11
  • 3
-3
votes
1 answer

how to parse php variable to jQuery?

Possible Duplicate: Get variable from PHP to JavaScript I am working in wikipedia api, how to search query with two words like "new york", as it is returning no image when using two words ?
-3
votes
1 answer

How can get images from wikipedia api?

i have the product keyword, i need images from wikipedia for that search keyword to display in my web application. is it possible? i'm doing this application in python/django framework.
-4
votes
1 answer

Wikipedia Dump available on AWS S3

Would like to know if there are there any publicly available s3 buckets that contain data from Wikipedia ?
-5
votes
2 answers

how to Retrieve date from xml file

this is my xml file,i do not known how to retrieve value from xml file using php,how to retrieve infromation from the xml file.if you known please help me. my xml file: see:http://en.wikipedia.org/w/api.php? …
SANSCLAW
  • 15
  • 1
  • 2
  • 14
-5
votes
2 answers

Any way to load contents from wikipedia to my site?

Possible Duplicate: Is there a Wikipedia API? Is there any API or any particular way to load pages to my site. For example if am viewing www.mysite.com/php , its should display a block which contains data from wiki! Please give a sample example…
Serjas
  • 1,992
  • 3
  • 19
  • 35
1 2 3
65
66