Help & Guides › Tools

weatherTAP Sticker

Put a small image of the current weather for any city on your own website. Build one here and copy the HTML.

Add local weather to your website

A weatherTAP sticker is a small image that shows the current conditions for a city. Put one on any web page and it stays up to date on its own: every time the page loads, the sticker shows the latest observation.

Build your sticker

The identifier of the nearest observation station, e.g. KCSV.
Preview
Sticker preview
HTML for your page
Copied

Paste the HTML wherever you want the sticker to appear. The image is drawn at twice the size it is displayed at, so it stays sharp on phones and high resolution screens; keep the width and height in the HTML as they are.

Options

Parameter What it does Example
station Shows the weather for this observation station station=KCSV
zipcode Shows the weather for the station nearest this zip code (use instead of station) zipcode=38555
style Layout: card, wide or mini style=card
theme Colors: dark, light or blue theme=light
tz Time zone for the timestamp: ET, CT, MT or PT. Central time if left off. tz=ET
title Text to show in place of the station's city and state title=Lake Tansi
Legacy stickers

These are the original sticker designs. If you already have one on your site there is nothing you need to do: they will keep working exactly as they do now, at the same addresses. For anything new we recommend the stickers above.

Template Sticker Image HTML For Webpage
template_a <a href="http://www.weathertap.com"><img src="http://www.weathertap.com/sticker.gif?station=KCSV&template=sticker_a&tempcolor=blue&locationcolor=yellow&bordercolor=blue" /></a>
template_b <a href="http://www.weathertap.com/forecast/FL/Miami"><img src="http://www.weathertap.com/sticker.gif?station=KMIA&template=sticker_b&tempcolor=blue&locationcolor=blue&outlinecolor=white" /></a>
template_c <a href="http://www.weathertap.com/forecast/NY/New York"><img src="http://www.weathertap.com/sticker.gif?zipcode=10018&template=sticker_c&tempcolor=white&locationcolor=white&bordercolor=white&tz=ET" /></a>
template_d <a href="http://www.weathertap.com/forecast/CA/Los Angeles"><img src="http://www.weathertap.com/sticker.gif?station=KCQT&template=sticker_d&tempcolor=yellow&locationcolor=lightgray&tz=PT" width="150" height="50" /></a>
template_e The background image on this sticker will change to reflect the current conditions <a href="http://www.weathertap.com/forecast/TX/Houston"><img src="http://www.weathertap.com/sticker.gif?station=KHOU&template=sticker_e&tempcolor=white&locationcolor=white&outlinecolor=black&bordercolor=gray" /></a>
template_f <a href="http://www.weathertap.com/forecast/TN/Crossville"><img src="http://www.weathertap.com/sticker.gif?station=KCSV&template=sticker_f&tempcolor=white&locationcolor=white" /></a>

Parameters for the legacy stickers:

Parameter Result Example
station Pulls weather data for the given station station="KCSV"
zipcode Pulls weather data for the given zipcode zipcode="38555"
tz The time zone to display the time stamp in. If not present, central time is used tz="ET" (Eastern)
template The template used to create the weather sticker template="sticker_e"
tempcolor The color the weather information will be displayed in tempcolor="yellow"
locationcolor The color the station location information will be displayed in locationcolor="red"
outlinecolor If present, all text will be outlined in this color outlinecolor="black"
bordercolor If present, a border with be drawn around the image in this color bordercolor="gray"
title If present, you are able to correct display the name of the location for the current conditions title="Crossville,TN"

Change 'station=KCSV' to station='XXXX' where XXXX is the identifier of the closest observation station. Alternatively, if you do not know the station ID, remove the 'station=CSV' text completely and replace it with 'zipcode=12345' where '12345' is the 5-digit zipcode of the city or county that you want local conditions for.

Need a hand?

Call (866) 469-9982, Monday through Friday, 8:00 to 4:00 Central, or email support@weathertap.com.