get_powerstats: Call that gets all the powerstats for the superhero.

Description Usage Arguments Value

View source: R/get_powerstats.R

Description

Call that gets all the powerstats for the superhero.

Usage

1
get_powerstats(access_token = Sys.getenv("SUPERHERO_TOKEN"), character_id)

Arguments

access_token

Required. Unique token obtained from the SuperHero API site. Token should be set to the environment and will be retrieved that way.

character_id

Required. The Character ID or name of the Superhero

Value

Returns a dataframe with the powerstats of the specific superhero.


Edgar-Zamora/superheroR documentation built on Dec. 17, 2021, 6:22 p.m.