get_image: Call that provides the image of the superhero.

Description Usage Arguments Value

View source: R/get_image.R

Description

Call that provides the image of the superhero.

Usage

1
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.


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