mz_provider: Configure provider information

View source: R/providers.R

mz_providerR Documentation

Configure provider information

Description

rmapzen works with most implementations of PELIAS. This function defines the base URL for a particular API provider, and can be used to provider the provider argument to mz_set_host.

Usage

mz_provider(hostname, path = NULL, key = NULL, scheme = "https")

Arguments

hostname

The hostname in the API URL, for instance www.example.com

path

Specific path that all API requests must include, e.g. "v1"

key

API key for this provider, if required

scheme

The scheme for the URL, should always be "https"

See Also

mz_set_host


tarakc02/rmapzen documentation built on Oct. 19, 2023, 7:32 p.m.