How do I use the Wikipedia API



I want try to get tennis players description from wikipedia without scratch the DOM page on a player x. It's not allowed and very boring. So, I hope someone can reply to my only question.


What can I do precisly with the Wikipedia API ? Can I get informations about a collection of tennis players easily ? or this API is not working for this. If not, I need someone tells me what is the purpose of this API because I don't understand the documentation.


Related to : How do I use the Wikipedia API
Problem in Wikipedia API
Programming Languages

I have problem using the Wikipedia API. I use this PHP script,


<?php
$xmlDoc = new DOMDocument();
$xmlDoc->load("http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=New_York_Yankees&rvprop=content&format=xml");
print $xmlDoc->saveXML();
?>

and I have the following result in the browser. Why?


Warning:
DOMDocument::load(http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=New_York_Yankees&rvprop=content&format=xml)
[domdocument.load]: failed to open
stream: HTTP request fail

error in using wikipedia api
Programming Languages

i am using wikipedia api to fetch data from wiki pedia but i am getting error here iam posting my code and my error. Please help me.


HttpWebRequest myRequest =
(HttpWebRequest)WebRequest.Create("http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search=hello");
System.Net.ServicePointManager.Expect100Continue = false;
using (HttpWebResponse response = (HttpWebResponse)myRequest.GetResponse())
{
string ResponseText;
using (StreamReader reader = new StreamReader(response.GetResponseStream()))
{
ResponseText = reader.ReadToEnd();
}
lblresult.Tex
How can get images from wikipedia api?
Programming Languages

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.


API for Wikipedia in Objective C?
Programming Languages

Does anybody know if there is an implementation of the wikipedia api in objective c?
which can be used to access and display the information a bit nicer then with the plain website.
I'm thinking of something like the wikipanion app but not so sophisticated.


Thanks


Joerg


How do I use the Wikipedia API
Programming Languages

I want try to get tennis players description from wikipedia without scratch the DOM page on a player x. It's not allowed and very boring. So, I hope someone can reply to my only question.


What can I do precisly with the Wikipedia API ? Can I get informations about a collection of tennis players easily ? or this API is not working for this. If not, I need someone tells me what is the purpose of this API because I don't understand the documentation.


Wikipedia API Error
Programming Languages

I am trying to script a simple Search & Return text box with the Wikipedia API. I'm having a few problems with scripting and fixing a few errors myself. If anybody could point an error out or knows how to fix it themselves, I'll be greatfull.


The script I am trying to get work in jsfiddle - http://codebetter.com/matthewpodwysocki/2010/03/15/introduction-to-the-reactive-extensions-for-javascript-wikipedia-lookup/


The jsFiddle that I am having problems with: http://jsfiddle.net/eY8uH/140/


Again, If anyone can help me by pointing out an error, thank you.



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .