Add weather and time zone information to your website from free API
Today I will introduce to you how to get weather information and display it on your website, get information by available address or by your location. We will be using a free account from https://home.openweathermap.org, you sign up with an email account and after confirming, you will receive the API from the incoming email. Of course you can create many APIs after logged in. API key from the incoming email Create API key name with name MyApiKey on home.openweathermap.org page To display a select list of locations for information, you need latitude and longidute addresses. I assume you have list of coordinates of locations as below: Note: Also you can refer to how to get the coordinates of other locations here Getting Latitude and Longitude from a Click Event Once you have the information about the API key, the coordinates are needed. We proceed to get data combining Laravel and VueJS as follows: Of course you only need to use Javascript is also completely appl...