| bggSearch {bggAnalytics} | R Documentation |
API for BoardGameGeek search engine
Description
Search for items on the BoardGameGeek with a given query. See
bggAPI for more details on inherited slots and methods.
Details
Note that the result is trimmed to items with unique IDs. Due to
XML API2 'Search' returning multiple items for a single ID with different
types, variable 'type' might be not accurately represented.
Super class
bggAnalytics::bggAPI -> bggSearch
Active bindings
queryA single string with the wanted query.
Methods
Public methods
Inherited methods
Method new()
Object initialization.
Usage
bggSearch$new(query, params = NULL)
Arguments
querya single string, query used to perform the search.
paramsa list of object parameters. If not all the parameters are included in the list, default values are used (
NULLinstead of the list is possible for all the default parameters).
Following parameters are allowed for thebggGamesclass with default values in parentheses:pretty_names- (FALSE) a boolean value, should the object should use pretty names,type- (NULL) a single string, type of things to look for. Possible values:'rpgitem','videogame','boardgame','boardgameaccessory','boardgameexpansion'.NULLuses all possible values.exact- (FALSE) a boolean value, should the results be restricted to items that match thequeryexactly.
Method print()
Print object information.
Usage
bggSearch$print()
Method clone()
The objects of this class are cloneable with this method.
Usage
bggSearch$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.