Skip to content

mervebilgin/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherApp

Current Weather App with JavaScript

I have developed an application where we can access the current weather of cities with JavaScript. I used dynamic information retrieved via OpenWeather API on the website. Weather information can be retrieved daily via OpenWeather.Once the user is registered, they have access to the entire API. You can review the document of Current Weather Data to access the current weather.

How to make an API call

API call:

https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API key}

Parameters:

lat, lon Geographical coordinates (latitude, longitude). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, use the Geocoding API.

appid Your unique API key (you can always find it on your account page under the "API key" tab)

mode Response format. Possible values are xml and html. If you don't use the mode parameter format is JSON by default.

units Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default.

lang You can use this parameter to get the output in your language.

Weather App-1 Weather App-2 Weather App-3

About

Current Weather App with JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published