Clima React App fetches live weather data by calling the OpenWeatherMap Current Weather endpoint. Every request must include a valid API key via theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jantoniogc/CursoReact-Clima/llms.txt
Use this file to discover all available pages before exploring further.
appid query parameter. Without a working key, all queries will fail or be rejected by the API.
The URL constructed in src/App.js looks like this:
Get and configure an API key
Create a free account
Go to openweathermap.org and sign up for a free account.
Copy or generate a key
Copy the default key or click Generate to create a new one. The free tier supports 60 calls per minute.
Request parameters
City and country code in
{city},{countryCode} format — for example, Madrid,ES or Buenos Aires,AR.Your OpenWeatherMap API key. Obtain one from your account dashboard at openweathermap.org.
Response fields used by the app
City name returned by the API.
Current temperature in Kelvin.
Maximum temperature in Kelvin for the current conditions.
Minimum temperature in Kelvin for the current conditions.
Status code from the API. A value of
'404' means the city was not found; the app uses this to display an error message instead of weather data.The free tier of OpenWeatherMap allows up to 60 API calls per minute and 1,000,000 calls per month. For most development and personal use, these limits are sufficient without upgrading to a paid plan.