Update your team
update_team.Rd
Send a request to the API to update a team.
Arguments
- team
either an object with class team, or a list of length three with the following positional elements: (1) a numeric vector of length 15 indicating the 15 player IDs of the team; (2) a single numeric ID of the captain; (3) a single numeric ID of the vice-captain. If a list is supplied, it will be converted to a team object first before the update request is sent.
- verbose
an integer from 0 to 3 denoting how verbose the request should be - passed to httr2::req_perform (0 = no output, 3 = maximum output)
- report_changes
logical - should the overall changes to the team be summarised and printed to the console?