Dynamic Weather Data

Skip to content

This here’s a machine-translated text that might contain some errors!

‘Bout the Task

You’re tasked with buildin’ a service that fetches weather info from the internet and presents it in a useful manner. The task is deliberately open-ended – you choose yer own technology, platform, and approach.

Examples of technologies

  • 🌐 Website with HTML/CSS/JS
  • 🖥️ Command line tool (e.g., in the Python console)
  • 🤖 Discord chatbot
  • <0xF0><0x9F><0xAA><0x9F> tkinter dashboard

🌤️ Main Task Medium

Part 1 – Gatherin’ Weather Data

Yer service needs to fetch weather data for a specified location. You go on and figure out which source ya wanna use, and how to get structured data from it programmatically.

Søketips

Feel free to search for terms like “weather API”, “free weather data”, or services built just for this here purpose.

Part 2 – Show ‘em the Data

Once ya done wranglin’ up the data, ya gotta present it in a clear and easy-to-use manner.

  • Think on what the user needs to know, plain and simple.
  • The presentation gotta be tidy – whether it’s a dashboard, a table, a view in the terminal, or somethin’ else.

CLI-tips

You buildin’ yourself a command line tool? Go take a gander at that rich library – it makes it easy as pie to whip up fancy tables, colors, and layouts right there in the terminal.

⭐ Part 1 – Smart Advice Medium

Expand yer service to answer questions based on the weather data.

Examples of questions the service can answer:

  • Do I need an umbrella?
  • Do I need a jacket?
  • Should I have winter tires?
  • Do I need sunscreen?
  • Is it slick out there?

These answers should be based on actual values from the weather data – not just static text.

Tip

Think on which values (temperature, precipitation, wind strength, an’ all that) be relevant for every question. How ya present them answers is up to ya – it could be a text field where ya write the question in, fixed icons/indicators in yer dashboard, or a special command in the CLI (chatbot).

⭐ Subtask 2 – Automatic Location Detection Hard

If the user don’t reckon on givin’ a location, this here service oughtta figure out for itself where it’s runnin’ and use that spot.

  • Figure out how ya can determine position without the user havin’ to type ain’t nothing
  • This should work like a “fallback” – the location can still be overridden manually

Husk

There ain’t no single right way to do this, partner. Focus on makin’ sure the service actually works and is useful to folks.