Weather Lookup By Location Input

Prerequisites

You must sign up for an API Key from https://www.weatherapi.com

There is no initial charge for a key. They allow up to 1,000,000 calls/month on their free tier.
Once you have your API Key, either save it to a text file or keep the webpage open.
You will need the key later in the setup process.

Install Steps

v2
  1. Open Streamer.bot.
    • (version 0.1.7 and below) Right-click in the Actions tab and select “Import”.
    • (version 0.1.8 and above) Click the “Import” button at the top of the window.
  2. Copy the import string below.
  3. Paste it into the Import box that is open in Streamer.Bot. You should see an Importable Action called “WM-Current_Weather-v2”
  4. Click Import.
  5. Click on the newly imported action and find the folder named Query setup.
  6. Double-click on the line that says “<Insert API Key Here>
  7. Find the API Key that you created earlier and paste it into the Value box.
    If you do not have one, please follow the steps in the Prerequisite section above.
    (Optional: You can change the returned language by changing the variable to your language of choice.)
  8. Open the Execute Code (WeatherLookup) sub-action
  9. Click on References. Right click and select “Add Reference from File”
  10. Navigate to your .NET folder (typically C:\Windows\Microsoft.NET\Framework\v4.0.30319\) and select System.dll.
    Do this again and select System.Net.dll
    You should now have three files in your references: mscorlib.dll, System.dll, and System.Net.dll
  11. Click Compile. You should see a message in Compiling Log tab that says “Compiled successfully!”
  12. Click Save and Complile.
TlM0RR+LCAAAAAAABADVXHtv4siW//9K9ztYLbW0K7UzfoI92lkpEB4mwDQQDHh7tSpXlcHBr/EDQq7ud99TtnmEJLdjmrnqGaknfp4653eedVzFP/7+N477tKFx4obBp1856Ut+IUA+hbNPswHfzOKYBumMonRFY34jfSoeQTiFVxJ46n/YOcf9o/gDt1zC3tVtImoCUni5Xse8UtdrPFJrhCd1QglCuoyxUNDKX/ojoxkbM8g873iVBsj2KKOXxhk9uf6EvYzQdhz6XTdJw3gHjzjIS06e2QvxjgT5M8s4zKJS0mlC4/9rhr6PApKcPIO8Ldol4yx4PUQMj4b+bQ7F67s4DHAx9ut7r+B7AWH+yAZ5OSKfjAA4S7ldmMXc7VeDcwMOJOE8N6CcTb1we2T2BH+EFEJFyeaRo9Z5xUHsqCbxxHZw3ZYVuYbI2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5dw6Kq/tSAapUA5XlWpHPHyc78ZD/c1vU8qOh9m20+98AGOSjsiRssk3zyRNwkgjlmUaXbiJX3UNJvw9gjh3KB4/m3C3ZCZVR3NB5TUecVnQLMClEhpDoCdXRISdrPnZL0qjC/nk9+4V5OSU/PWSY6Pd8H3ffwrBGN2JCheFHRAE+iCTySVIiutRqkKqrSeu3njqlitRmQ4eTjbVFQ/ngHzmegIRfRmCFWboWEmOBRNpPcGzWbTR43p95wv7N9k1s3gRpgzz+hDrN3xCVg6SDhwZThSXreAijQx7ZmCywKO7YC5SwBPegCVvm6IouaINGao+K/+Cb0ajnvhb0XxcCpNR+S2ulFCOOnpyxIv2ftBBMqKQ7mRQ1LbP+wxusOhVoMSjNCRAnm/tfE+0+w9tPp6/7wuG+0/AmbDmPgX/6OTQkH0WS7BnGUqgoLpgjDZFVBfF1HjqpTUarXPv7bHftNydWELn6t551OY5U5U/mrDrpaV6nA2hMYJt0Is/khQrwu65ouy4IiEFRZomu7zUdk/o6eceh5KILM+ZaqP6bXA9XiIB+lGKH43aecaHkB73+BiV36+9/++f9DKZBGo0oAAA==
Original v1
  1. Have Streamer.bot open and right-click in the Actions tab.
  2. Select “Import
  3. Copy the import string below. Select everthing between the Begin and End Import String lines at the bottom of this file.
  4. Paste it into the Import box that is open in Streamer.Bot. You should see an Importable Action called “WM-Current_Weather”

    If you do not see this, double check that you have selected all the characters below.
    Remove any trailing spaces and remove --Begin Import String-- or --End Import String-- if you accidentally copied them.

  5. Click Import.
  6. Click on the newly imported action and find the folder named Query setup.
  7. Double-click on the line that says “<Insert API Key Here>
  8. Find the API Key that you created earlier and paste it into the Value box.
    If you do not have one, please follow the steps in the Prerequisite section above.
    (Optional: You can change the returned language by changing the variable to your language of choice.)
  9. Open the Execute Code (WeatherAPI) sub-action
  10. Click on References. Right click and select “Add Reference from File”
  11. Navigate to your .NET folder (typically C:\Windows\Microsoft.NET\Framework\v4.0.30319\) and select System.dll.
    Do this again and select System.Net.dll
    You should now have three files in your references: mscorlib.dll, System.dll, and System.Net.dll
  12. Click Compile. You should see a message in Compiling Log tab that says “Compiled successfully!”
  13. Click Save and Compile.

Import Code Block

TlM0RR+LCAAAAAAABADVW2lv20qW/T7A/AdOBkF3A2FS3MlgMoApW5ttvUiyKInjRqM2UrS4tajFcqP/+9yiqCVeEsnPL8FLYJviUnXvuedurNK//vM/JOndks+KKEvffZaUD+WJFCccPr17t/mI6RwuF3Dm/8RnSfrX5g9cipi4j+oUMYKIbCkMy7pKqUxUlcpOoGsOsbmNHbQZq3zonwu+EOOnizjen+UpJjEX481nC74/vxWmtpjNeDofcjyf8NnBcOEsW+TijuG1PCj47B+1LElwyoqDe3C8wuuitxBKBjguDsafwa1Zclbq+PQqzVK6mfjptSe4fINNeUuRLWaU36xzoQL68M21JZ5FQuU90rtLG1h1rBo6sxxZV7Ai68ShMmZIkTVOdCMwkM4ZffTgikfhRIiKPj6abb6RwXh0egveN7bYyJAyfi9G2p/994eX9GS8mEcprjB8QdFOZcmCx8FZHl3y9SPpc0HEYv6UBAdY7lh6MHxc0und/7RSMP9cOvvakmBwqcln/H+fRZYy0+EKN2Tgqw3IaqqMrQDJRkB01WLEtJl9KrKKqj4P7bvugs/WUsHni/yjdJ6lf5lLdILTkEv8nvJ8Ls0zKUrzxVxag4o78YGXUgy3LXDIH2tR2UZ5c9vEGS3vLGV+nXmezFCZZ4ZXLaHlsxYJNAc5gWXL2FF1WUeKJbjuyAybHOumQpnt/BksYh5jkW1Iq2IZDP9oNDAZnUV5ZbJ3dRhdqsKQtNo8JBFccCZlqfTPUplgliVCicfwTjnPz+JoyZ/Er/LyjAfgJSnlj8JYebH2+fZ2CHNnq+L29jqis6zIgvnHzsXN7W19Bkqsstn09napf0QfNaQpzu1tUtBsFkfkI4vjbyV53Xj9NRAueePROnxejng44N+/xYWs57yWsdJMbNTJSULDgRY/sIY3/22FLh+fu5oaMTsvOrXUe8BDI23VOwbVejHpGwN/NEGHz9wknsYazoKqTsJqxiX8XYjr5918xYbt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JwEUAv5jOOkxdKF8oYNqF/VHSHi8IaQb9jUplAPWPCP0LVn0/Go1LyDq+/Xtx/LgFpnLekGwHKX/uUp/zzZ/GhXwL0N+mL9D6MM4Ljfxykjfc7mATMczizx+tZuDCjKlG5JWuBRWTdtLFsIxuAI9gmNuO2QchPh+soegm2iCHfQxU7e/9BUATcr9obFq+fR0dw+9GFXWnzXqSJRxe3rcj7x2TLy+1iM87OKFC73BOLnsPXMIkWQJUoI9MSlTQQE+umJiuQYh1KoNlD5un4/i50/4iS5er5ePEzG2pLI4GNKDA3gF+KbkHyDlRZUUysc8WijJweW39BQ20fY52TNrL+HhP9cKcxf9wRbKxBAsviCKtyIPavAuEd2TFFF6kbClUoJRrV/gybWI3TA3dVAHzh6Qepn+O0PC4+SA0OZVb6hUFu+5rN5gsoMviXfP6351tLym1FASIrdvl6KMCyY6hEVkxEucYUFTPjT1EpHBVs9qUoODeUYdCi4yWOYsFiCSrRyXyeF58/fVqtVh8rNuM8+kiz5BPLaPHpWQjVwEJcsy0Zc2LIUHoFIrOZMkcGRAdVh07mFZH3F0B42PpsD/d7dKvvXjSEHN/9Akb1ZgupgalopowQdDY6EvmIIlWmtmMw1dAMjR3/zmK7e/vtdd98FeXd88sGpxRVVXIIGNMN05Ypoib0tCSQicJVWVVVDSmOE6BAPVnrH7Wux+hwlHtUOhBFcTDm4o2x+GqRrcvEtBWZMhNhYnBOnNMt9/2K4RgNfsBOmsUxzgvO9gT9++Zieffmzs33oLYX//3/B4yPQYw1AAA=

Usage

  1. Create a command or a channel point reward and have it point to the WM-Current_Weather action.
    The command will need to have a location of Start. The channel point reward will need a prompt. Something like “Enter location.”
  2. The bot will use the user’s response to do the lookup.

    Note: The lookup can use several methods for searching. They are listed below:
    - City name (ex: Paris)
    - US Zip Code (ex: 90210)
    - UK Postcode (ex: SW1)
    - Canada postal code (ex: G2J)
    - 3 Digit Airport code (ex: LAX)

  3. Enjoy doing weather lookups for around the globe!

Optional Widget

>You need to have the weather lookup already installed and configured. If you don’t have valid data coming back, then this widget will not work.

There are a couple ways to handle this, either online or having the html page locally on your machine. The choice is up to you.

Widget Install Steps

Offline Usage
  1. A) For the latest version, go to https://codepen.io/Web_Mage/pen/eYGXwbz and click on Export in the bottom right corner. Click on Export .zip
    B) Download the attached .zip file from the StreamerBot discord.
  2. Navigate to where you saved the download and extract all of the files.
  3. If you want to move the files to a different area, the ones needed will be in the dist folder. It is located in <extracted zip>/super-mario-weather/dist/
    (If you don’t want the folder, make sure you move all three files: index.html, script.js, and style.css)
  4. Create a new browser source in OBS. Set the URL to about:blank and the size to whatever you’d like.
  5. In Streamer.bot, navigate to the current weather lookup action.
    Add a new Set Browser URL sub-action by right clicking, then
    Add Action → OBS → Set Browser Source URL.
  6. Pick the scene, then the browser source you created in step 4.
  7. For the URL, use
    file:///<saved path>/index.html?apikey=%global_selfApiKey%&query=%global_locationQuery%&lang=%global_weatherLanguage%
  8. Test by doing a lookup. The widget should change to match what is generated in chat.
Online Usage
  1. Create a new browser source in OBS. Set the URL to about:blank and the size to whatever you’d like.
  2. In Streamer.bot, navigate to the current weather lookup action.
    Add a new Set Browser URL sub-action by right clicking, then
    Add Action → OBS → Set Browser Source URL.
  3. Pick the scene, then the browser source you created in step 4.
  4. For the URL, use
    https://codepen.io/Web_Mage/pen/eYGXwbz?apikey=%global_selfApiKey%&query=%global_locationQuery%&lang=%global_weatherLanguage%
  5. Adjust your browser source dimensions to crop out the code blocks on the side, so that you only see the widget.
  6. Test by doing a lookup. The widget should change to match what is generated in chat.
Alternate Usage

To use the widget as just an onscreen overlay for your local weather.

  1. Create a new Action with just an OBS browser source, like the above install steps.
  2. Instead of using about:blank, use the url but with the variables hard coded in. (e.g. <your path>/index.html?apikey=<your APIkey>&query=<your location>&lang=<your language>)
  3. Run the widget’s action as a timed action set to 5 minutes. This will allow the widget to refresh without user intervention.
3 Likes