mtg: Eresponsetract Magic the Gather Data

Description Usage Arguments

Description

Main function to grab data from Magic the Gathering API.

Usage

1
mtg(resource, version = "v1", json = FALSE, quiet = FALSE)

Arguments

resource

Request resource, i.e. the endpoint

version

The API version, defaults to v1

json

If TRUE the output returns a JSON object. If FALSE the output returns a R object. Defaults to FALSE.

quiet

If TRUE the response information is printed. If FALSE, the response information is not printed. Defaults to TRUE.


tyluRp/mtg documentation built on May 5, 2019, 11:08 p.m.