Sorbonne Université
L3 DANT 2019/2020
LU3IN107 • Swift Project
☀️ 🌤 🌥 ☁️ 🌧 🌦 🌩 ❄️
- The goal of this application is to fetch and display the weather for a city or a list of cities using the OpenWeatherApp API.
- The app will display the current weather as well as the weather forecast for the next five days.
- Download file
city.list.min.json
from https://bulk.openweathermap.org/sample/ and place it in yourDocuments
folder. This file contains an array of City JSON objects with properties such as a city id, name, state, country and coordinates. - Run the application. The data will be loaded at the beginning.
- Let the menu guide you
- Search for a city by name, using "autocompletion"
- Get the current weather conditions for a city or a list of cities
- Get 5 day weather forecast a city
- The weather data is fetched from the OpenWeatherMap API, more specifically the two following endpoints:
- Current weather data (https://openweathermap.org/current)
- Call 5 day / 3 hour forecast data (https://openweathermap.org/forecast5)
- Feel free to contact us for any input or comments!