R: Get MediaWiki Page from API

wt_wiki_page {wikitaxa} | R Documentation

## Get MediaWiki Page from API

### Description

Supports both static page urls and their equivalent API calls.

### Usage

    wt_wiki_page(url, ...)

### Arguments

`url` | (character) MediaWiki page url.
`...` | Arguments passed to `wt_wiki_url_build()` if `url` is a static page url.

### Details

If the URL given is for a human readable html page, we convert it to equivalent API call - if URL is already an API call, we just use that.

### Value

an `HttpResponse` response object from crul

### See Also

Other MediaWiki functions: `wt_wiki_page_parse`, `wt_wiki_url_build`, `wt_wiki_url_parse`

### Examples

    ## Not run:
    wt_wiki_page("https://en.wikipedia.org/wiki/Malus_domestica")

    ## End(Not run)

[Package wikitaxa version 0.2.0 Index]