Description Usage Arguments Examples
This function allows you to save your api key to a .txt file, which you can read it from in the other functions.
1 |
org |
code of transport authority the key is for (tfl for Transport for London, tfgm for Transport for Greater Manchester) |
app_key |
the API key for your application |
app_id |
the API id for your application (TfL only) |
writepath |
the path where you want to save the file, defaults to working directory |
1 | save_key("tfl", "0f2fd687", "6c23ac1o45cfec9hhd6bf32b393a84do3") #these are not real api key/id values
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.