This function queries Wikipedia in the language of your choice. You can select the language per two character country code Wikipedia uses in they sub domains.
bef.mediawiki.api.define(term, language = "en")
Is the term or string you are searching for on Wikipedia.
Is the language of the Wikipedia (default: en). You can use two character country codes that Wikipedia uses in their sub domains.
The function returns a vector with description strings.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.