halo_campaign: Halo Infinite Service Record

Description Usage Arguments Value

View source: R/service_record.R

Description

Returns targeted player's service record on Halo Infinite.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
halo_campaign(
  gamertag,
  version = get_HaloDotAPI_version(),
  token = get_HaloDotAPI_token(),
  .progress = TRUE
)

halo_multiplayer(
  gamertag,
  filter = NULL,
  version = get_HaloDotAPI_version(),
  token = get_HaloDotAPI_token(),
  .progress = TRUE
)

Arguments

gamertag

Character vector of gamertags.

version

HaloDotAPI Version.

token

HaloDotAPI Token.

.progress

Logical. Should a progress bar be displayed? Passed on to furrr::future_map().

filter

Filter. One of 'matchmade:pvp', 'matchmade:social', 'matchmade:ranked', 'matchmade:bots', or 'custom'.

Value

For a single gamertag, a list with class campaign or multiplayer. For multiple gamertags, a list with class collection where each item in the list is a list with class campaign or multiplayer.


mattwarkentin/halo documentation built on Jan. 30, 2022, 2:15 p.m.