Skip to content

gheorghedarle/Xamarin-WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xamarin Weather App

MIT License

Weather App is a simple weather app developed using Xamarin Forms. The app allows you to see the weather from your current location or another location around the globe using OpenWeather Api. Using One Call API the app displays the current weather, 24 hours and 6 days forecast. You can add new locations and switch between them from the Locations screen. From Settings screen you can change the unit system from metric to imperial. The app is available in light and dark mode.

If you like this repository you can support me on

Buy Me A Coffee

Screenshots

Light mode

Dark mode

Libraries

Setup

The app is using One Call API from OpenWeather Api. To start the project you need an account and OpenWeather Api Key.

Create a file called local.settings.json in the root of the WeatherApp project. Add the following code in the file.

{
  "openWeatherMapApiBaseUrl": "https://api.openweathermap.org/data/2.5",
  "openWeatherMapApiKey": "YOUR_KEY"
}

For local.settings.json go to Properties and select Embedded resource from Build Action

Resources

Illustrations are from Freepik

Other versions

React-WeatherApp - developed in React