Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 893 Bytes

File metadata and controls

44 lines (32 loc) · 893 Bytes

Polycli 🌦️☁️

A tiny concurrent CLI that fetches weather (and more!) in parallel. Written in Go with goroutines, channels, and a clean code structure.


Features

  • Fetch current temperature for multiple cities concurrently
  • 🏷️ Country‐flag and weather‐condition emojis
  • ⚙️ Configurable via .env (OpenWeatherMap API key)
  • ✔️ Testable helpers: emoji selectors & HTTP logic

Prerequisites


Installation

git clone git@github.com:JackIABishop/polycli.git
cd polycli
go mod download

Example API Response

{
  "name": "New York",
  "main": { "temp": 28.8 },
  "weather": [
    { "main": "Clouds", "description": "scattered clouds" }
  ],
  "sys": { "country": "US" }
}