The Weather API tool for Superface allows you to quickly add the following capabilities:

Requirements

You will need an Weather API account and a API key.

Weather API offers a free account with up to 1 million API calls per month, and up to 7 days of historical weather data.

Authentication

From your Weather API dashboard, click to copy your API Key from the top of the page.

tools-weatherapi-apikey-4f73287e90b274d6777243d2f534d7cd.png

Next, in Superface, click on the Config button for the Weather API tool and paste your API Key into the API Key field in the Security section.

tools-weatherapi-config-9e0ee905a443a1d60742ac7ba9057077.png

Click on Save Changes to update the tool with the new configuration.

<aside> <img src="/icons/info-alternate_lightgray.svg" alt="/icons/info-alternate_lightgray.svg" width="40px" />

IMPORT YOUR SCHEMA Remember to re-import the schema in your GPT to update it with the new capabilities added by this tool.

</aside>

Example prompts

To test that everything is working as it should be, from your GPT or the Superface Agent you can try asking: