Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 955 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 955 Bytes

Weather tool

This is a weather tool based on the Open Weather Map API. You need a (free) API Key for Open Weather Map to use this API.

Get your API Key

Get a free API Key for Open Weather Map.

Getting started

To add your API key:

  • Copy the file .env.sample to .env and add the API Key:

    STEPZEN_OPEN_WEATHER_MAP_APIKEY=
  • Save the file.

  • Install the Node.js CLI

  • Import the tool:

    wxflows import tool https://raw.githubusercontent.com/IBM/wxflows/refs/heads/main/tools/weather.zip
  • Deploy the wxflows endpoint:

    wxflows deploy
    

When deployed, the endpoint will pick up the API Key from your .env file.

Support

Please reach out to us on Discord if you have any questions or want to share feedback. We'd love to hear from you!