View source: R/url-manipulation.R
generate_request_url | R Documentation |
Generate a URL with devid and signature
generate_request_url(
request,
user_id = determine_user_id(),
api_key = determine_api_key()
)
request |
Character. A path without base URL or version, such as "routes" or "stop/1071". |
user_id |
Integer or character. A user ID or devid provided by Public
Transport Victoria. Refer to |
api_key |
Character. An API key, with dashes, provided by Public
Transport Victoria. Refer to |
A complete URL character that can be queried with httr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.