Actually this API looks so easy, I don't think I need an a code example. All I need is the GET url with api.php and an example that would get the first dictionary definition for something like 'Turtle' For example, it should return something like this:
1. A land or marine reptile having a protective shell (made up of a carapace and a plastron) enclosing its body.
--------------------------------- Jeff - President JEFFCOMPUTERS LLC. 636-256-7901 BLOCKED::mailto:Jeff@JeffComputers.com Jeff@JeffComputers.com BLOCKED::http://www.jeffcomputers.com/ www.JeffComputers.com
From: Jeff Computers [mailto:Jeff@JeffComputers.com] Sent: Tuesday, March 30, 2010 12:34 PM To: 'mediawiki-api@lists.wikimedia.org' Subject: RE: Wiktionary API VB6
Is the Wiktionary available though the API? Can you give me a quick example how to use it in VB6 or .NET if you do not have a VB6 example? Thanks!
--------------------------------- Jeff - President JEFFCOMPUTERS LLC. 636-256-7901 BLOCKED::mailto:Jeff@JeffComputers.com Jeff@JeffComputers.com BLOCKED::http://www.jeffcomputers.com/ www.JeffComputers.com
On 03/30/2010 06:54 PM, Jeff Computers wrote:
Actually this API looks so easy, I don't think I need an a code example. All I need is the GET url with api.php and an example that would get the first dictionary definition for something like 'Turtle' For example, it should return something like this:
A land or marine reptile having a protective shell (made up of a
carapace and a plastron) enclosing its body.
Wiktionary doesn't have a detailed API (yet), you can get the page source using a GET request to
http://en.wiktionary.org/w/api.php?action=query&prop=revisions&rvpro...
Or, for just one page to:
http://en.wiktionary.org/w/index.php?action=raw&title=turtle
Note that the page is not "Turtle", Wiktionary is case sensitive.
Once you have the page, the definition lines (and only the definition lines) start with a #, so they're pretty easy to find.
I don't know of any VB clients, but there's some in C# at http://www.mediawiki.org/wiki/API:Client_code#.NET
Conrad
How do I know where the first definition starts? Do I use the first # sign? I am looking for a powerful way to parse accurately. Thanks!
--------------------------------- Jeff - President JEFFCOMPUTERS LLC. 636-256-7901 Jeff@JeffComputers.com www.JeffComputers.com
-----Original Message----- From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Conrad Irwin Sent: Tuesday, March 30, 2010 1:03 PM To: mediawiki-api@lists.wikimedia.org Subject: Re: [Mediawiki-api] Wiktionary API VB6
On 03/30/2010 06:54 PM, Jeff Computers wrote:
Actually this API looks so easy, I don't think I need an a code example.
All
I need is the GET url with api.php and an example that would get the first dictionary definition for something like 'Turtle' For example, it should return something like this:
A land or marine reptile having a protective shell (made up of a
carapace and a plastron) enclosing its body.
Wiktionary doesn't have a detailed API (yet), you can get the page source using a GET request to
http://en.wiktionary.org/w/api.php?action=query&prop=revisions&rvpro... t&titles=turtle
Or, for just one page to:
http://en.wiktionary.org/w/index.php?action=raw&title=turtle
Note that the page is not "Turtle", Wiktionary is case sensitive.
Once you have the page, the definition lines (and only the definition lines) start with a #, so they're pretty easy to find.
I don't know of any VB clients, but there's some in C# at http://www.mediawiki.org/wiki/API:Client_code#.NET
Conrad
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2773 - Release Date: 03/30/10 01:32:00
Hello,
Even I am interested in getting Wiktionary data. Is there any wiktionary database which I can download containing list of all the words and there respective definitions?
Thanks Aditya Uppu
On Tue, Mar 30, 2010 at 1:13 PM, Jeff Computers jeff@jeffcomputers.comwrote:
How do I know where the first definition starts? Do I use the first # sign? I am looking for a powerful way to parse accurately. Thanks!
Jeff - President JEFFCOMPUTERS LLC. 636-256-7901 Jeff@JeffComputers.com www.JeffComputers.com
-----Original Message----- From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Conrad Irwin Sent: Tuesday, March 30, 2010 1:03 PM To: mediawiki-api@lists.wikimedia.org Subject: Re: [Mediawiki-api] Wiktionary API VB6
On 03/30/2010 06:54 PM, Jeff Computers wrote:
Actually this API looks so easy, I don't think I need an a code example.
All
I need is the GET url with api.php and an example that would get the
first
dictionary definition for something like 'Turtle' For example, it should return something like this:
A land or marine reptile having a protective shell (made up of
a
carapace and a plastron) enclosing its body.
Wiktionary doesn't have a detailed API (yet), you can get the page source using a GET request to
http://en.wiktionary.org/w/api.php?action=query&prop=revisions&rvpro... t&titles=turtle
Or, for just one page to:
http://en.wiktionary.org/w/index.php?action=raw&title=turtle
Note that the page is not "Turtle", Wiktionary is case sensitive.
Once you have the page, the definition lines (and only the definition lines) start with a #, so they're pretty easy to find.
I don't know of any VB clients, but there's some in C# at http://www.mediawiki.org/wiki/API:Client_code#.NET
Conrad
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2773 - Release Date: 03/30/10 01:32:00
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
On 03/30/2010 07:25 PM, Aditya Uppu wrote:
Hello,
Even I am interested in getting Wiktionary data. Is there any wiktionary database which I can download containing list of all the words and there respective definitions?
Thanks Aditya Uppu
As of now you can get them from:
http://toolserver.org/~enwikt/definitions/
See
http://toolserver.org/~enwikt/definitions/README
Let me know if you have problems.
Conrad
mediawiki-api@lists.wikimedia.org