michaelormrod / BlazorWeather

Blazor Weather

Home Page:https://aka.ms/blazorweather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blazor Weather

A Blazor Weather sample app that shows the current weather for your current location and a collection of pinned locations.

Setup

You'll need an Accuweather API key to use their services. You can sign up for a free trial - just be aware it's only good for 50 requests/day.

To setup the API key in the Blazor WebAssembly app during development, run the app and the run localStorage.setItem("accuweathertoken", "\"**YOUR TOKEN**\"") in the browser dev console. Clear the API key from local storage when you're done with it

Credits

The weather is supplied by Accuweather.

Geolocation is handled using Blazor.Geolocation.

Local storage is handled using Blazored.LocalStorage.

Space Needle icon by Blair Adams via The Noun Project.

About

Blazor Weather

https://aka.ms/blazorweather

License:MIT License


Languages

Language:C# 56.7%Language:HTML 24.1%Language:CSS 18.8%Language:JavaScript 0.3%