clquery {colourlovers}R Documentation

Execute an API Query

Description

Primarily an internal function for executing API calls.

Usage

clquery(type, set = NULL, query = NULL, fmt = "xml", ...)

Arguments

type

An API type. One of “colors”, “palettes”, “patterns”, “lovers”, or “stats”.

set

A further subtype of the API type.

query

An optional character string specifying additional query parameters.

fmt

A format for the API response, one of “xml” (the default) or “json”.

...

Ignored.

Details

Primarily for internal use.

Value

A list reflecting the API response. This should be the same regardless of the vale of fmt.

Author(s)

Thomas J. Leeper


[Package colourlovers version 0.3.6 Index]