create_theme: Theme functions Theme API functions

Description Usage Arguments

View source: R/themes.R

Description

Theme functions

Theme API functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
create_theme(name, api = NULL, background_href = NULL,
  background_layout = "fullscreen", background_brightness = 0,
  colors_answer = "#4FB0AE", colors_background = "#FFFFFF",
  colors_button = "#4FB0AE", colors_question = "#3D3D3D",
  font = "Source Sans Pro", has_transparent_button = TRUE)

get_theme(theme_id, api = NULL)

get_themes(api = NULL, page = 1, page_size = 10)

update_theme(theme_id, name, api = NULL, background_href = NULL,
  background_layout = "fullscreen", background_brightness = 0,
  colors_answer = "#4FB0AE", colors_background = "#FFFFFF",
  colors_button = "#4FB0AE", colors_question = "#3D3D3D",
  font = "Source Sans Pro", has_transparent_button = TRUE)

delete_theme(theme_id, api = NULL)

Arguments

name

See https://developer.typeform.com/create/reference/create-theme/

api

Default NULL. Your private api key. If api is NULL, the environment variable Sys.getenv("typeform_api2") is used.

background_href

See https://developer.typeform.com/create/reference/create-theme/

background_layout

See https://developer.typeform.com/create/reference/create-theme/

background_brightness

See https://developer.typeform.com/create/reference/create-theme/

colors_answer

See https://developer.typeform.com/create/reference/create-theme/

colors_background

See https://developer.typeform.com/create/reference/create-theme/

colors_button

See https://developer.typeform.com/create/reference/create-theme/

colors_question

See https://developer.typeform.com/create/reference/create-theme/

font

See https://developer.typeform.com/create/reference/create-theme/

has_transparent_button

See https://developer.typeform.com/create/reference/create-theme/

theme_id

The theme id

page

The page of results to retrieve. Default 1 is the first page of results.

page_size

Number of results to retrieve per page. Default is 10. Maximum is 200.


rtypeform documentation built on Aug. 29, 2018, 1:03 a.m.