Skip to content

JackIABishop/polycli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages