Call that provides the image of the superhero.

get_image(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 work/occupation of the specific superhero.