mervebilgin / WeatherApp

Current Weather App with JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:HTML 40.8%Language:CSS 32.2%Language:JavaScript 27.0%