Skip to content

RagZark/-Weather-Forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

(PT-BR/EN)


PT-BR

Weather Forecast App

Este é um projeto simples que consome a API de previsão do tempo da WeatherAPI para fornecer informações meteorológicas com base no nome da cidade inserido pelo usuário.

Funcionalidades

Consulta por Cidade: O usuário insere o nome de uma cidade e obtém informações meteorológicas atuais. Dados Exibidos: Temperatura, velocidade do vento e umidade relativa do ar. Integração com API: A aplicação utiliza a API da WeatherAPI para buscar dados climáticos.

Tecnologias Utilizadas

HTML CSS JavaScript Como Usar Obtenha sua chave da API: Para que a aplicação funcione corretamente, você precisará de uma chave de API. Cadastre-se gratuitamente em WeatherAPI para obter a sua. Site para cadastro: https://www.weatherapi.com/signup.aspx

Configuração:

Clone este repositório.

No arquivo JavaScript, substitua 'SUA_API_KEY_AQUI' pela sua chave da API:

Execução: Abra o arquivo index.html em seu navegador para visualizar a aplicação. (Caso você não saiba como abrir, em meu VSCode eu utilizo a extensão "Live Server" e as teclas (Alt+L, Alt+O) para abrir o index.html)

Exemplo de Uso

Ao inserir o nome de uma cidade, como "São Paulo", a aplicação exibirá a temperatura atual, velocidade do vento e umidade da cidade.

Nota

Certifique-se de que a chave da API seja mantida privada e usada com responsabilidade. A WeatherAPI possui limites de uso em sua versão gratuita, portanto, verifique sua cota diária ao utilizar a API.


EN

Weather Forecast App

This is a simple project that consumes the WeatherAPI weather forecast API to provide meteorological information based on the city name entered by the user.

Features

City Search: The user enters the name of a city and obtains current weather information. Displayed Data: Temperature, wind speed, and relative humidity. API Integration: The application uses the WeatherAPI to retrieve weather data.

Technologies Used

HTML CSS JavaScript

How to Use

Obtain your API key: For the application to work correctly, you will need an API key. Sign up for free at WeatherAPI to obtain yours. Signup website: https://www.weatherapi.com/signup.aspx

Configuration:

Clone this repository.

In the JavaScript file, replace 'SUA_API_KEY_AQUI'(YOUR_API_KEY_HERE) with your API key:

Execution: Open the index.html file in your browser to view the application. (If you don't know how to open it, in my VSCode I use the "Live Server" extension and the keys (Alt+L, Alt+O) to open index.html)

Example of Use

When entering the name of a city, such as "San Diego", the application will display the current temperature, wind speed, and humidity of the city.

Note

Make sure the API key is kept private and used responsibly. WeatherAPI has usage limits in its free version, so check your daily quota when using the API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors