Learn R Programming

colourlovers (version 0.3.6)

clquery: 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.

Value

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

Details

Primarily for internal use.