Description Usage Arguments Details Value Examples
Sets the API key to the value of the argument.
1 |
key |
A valid Wunderground API key |
f |
A string indicating a text file containing only an API key |
If f
is not missing, then reads the API key from a file, else sets
key to the key
parameter. Does not check if key is valid. Please
visit <https://www.wunderground.com/weather/api/d/pricing.html> to sign up
for a free API key.
The API key
1 | setApiKey('q1w2e3r4t5y6u7i8') # not a valid key
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.