get_work: Get work/occupation for superhero

Description Usage Arguments Value

View source: R/get_work.R

Description

Get work/occupation for superhero

Usage

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