Minimalistic weather app
NOTE: To run this app locally, be sure to create an account on DarkSky and create a new personal key to use in Feels app. See section.
- Current weather based on geolocalization
- Add city manually
- Hourly forecast
- Daily forecast
- Live tile
- Pin multiple locations to start view
- Lockscreen text status
Steps to build and run this project:
- Clone or download this repository
- (Optional) Unzip the archive to your favorite location
- Navigate to the
Feels/
folder - Open
Feels.sln
in Visual Studio - Choose your favorite platform and click on Run :)
This section describes the way I've organized my files and directories to build this app in the clearest way possible.
Views
All the views are localized inside the Views/
folder, except for the App.xaml
and App.xaml.cs
which is the main app's view page.
Data
All data are managed inside the Data/
folder.
For more information, visit the corresponding folders.
You can contribute to improve this project by:
- edit the code
- creating a pull request
- submitting new ideas / features suggestions
- reporting a bug
- Lockscreen background
- Windows Mobile 10
- Windows 10
To run this project, it's better to get your personal API key from DarkSky:
- Login or Register a new account on DarkSky
- On the account page, you'll get your Secret Key
- Copy and paste the key when you create a new client:
var client = new DarkSkyService("YOUR API KEY HERE");
Go in the SourceModel
class in Feels.Data
namespace (path /Feels/Data/SourceModel.cs
).
You can then edit the line number 15
and paste your personal key
private const string _APIKey = "DARKSKY_API_KEY";
Replace the DARKSKY_API_KEY
value by your new API key.
It should now work :)