wmflabs_get_allinfo | R Documentation |
wmflabs_get_allinfo Obtains information about an article in the Wikimedia project in JSON format, or NULL on error.
wmflabs_get_allinfo( article, project = "en.wikipedia.org", links_in_count_redirects = FALSE )
article |
The article to search |
project |
The Wikimedia project, defaults en.wikipedia.org |
links_in_count_redirects |
If infotype==links, if redirects are included or not |
The number of visits
Is important that the article be don't a redirection: with "prose" infotype the function gets information of the target article, but with "articleinfo" and "links" the information is about the redirection.
Angel F. Zazo, Departament of Computer Science and Automatics, University of Salamanca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.