Skip to contents

Fetch Jobsuche employer logo

Usage

jobsuche_logo(hash_id, safe = TRUE, refresh = FALSE)

Arguments

hash_id

Logo hash id.

safe

Logical; if TRUE (default), apply rate-limiting and cache GET responses to tools::R_user_dir("bunddev", "cache").

refresh

Logical; if TRUE, ignore cached responses and re-fetch from the API (default FALSE).

Value

A one-row tibble with:

hash_id

Requested logo hash id (character).

logo

Raw logo bytes (list-column with raw vector).

Details

Returns the raw logo bytes for a given employer hash id. Use this together with listings returned by jobsuche_search() or jobsuche_search_app().

See https://jobsuche.api.bund.dev for API documentation.

See also

jobsuche_search() for listings and bunddev_auth_set() for auth setup.

Other Jobsuche: jobsuche_search(), jobsuche_search_app()

Examples

if (FALSE) { # \dontrun{
Sys.setenv(JOBBOERSE_API_KEY = "jobboerse-jobsuche")
bunddev_auth_set("jobsuche", type = "api_key", env_var = "JOBBOERSE_API_KEY")
logo <- jobsuche_logo("abc123")
} # }