generate_favicon.Rd
Using the realfavicongenerator.net API, this function sends a request to the API with the supplied parameters and downloads the result to a provided save location.
generate_favicon( image, save_loc, api_key = NULL, override_type = NULL, favicon_design = build_favicon_design(), settings = build_settings(), versioning = build_versioning() )
image | character; either a URL to an image or a local path. Type is guessed based on whether the string
contains "http/s" or "www", but can you can override this with the |
---|---|
save_loc | character; path to a save folder to save the returned images. |
api_key | character; NULL to use the API set by |
favicon_design | list; the favicon design parameters as an embedded list that will eventually be converted
to json. To help with the building of this complex list, use the |
settings | list; another embedded list of parameters to be passed to the API. To help with this, use the |
versioning | list; an embedded list of versionining parameters to be sent to the API. Help creating this
is provided with the |
path; the path to the saved file is returned invisibly
if (FALSE) { generate_favicon(image = "http://test.image.location", save_loc = "Me/MyDownloads", favicon_design = build_favicon_design(coast = NULL), settings = build_settings(), versioning = build_versioning()) }