
CLI Application ยท 2023
WEATHER FORECAST
A command-line weather forecast application built with Python. Retrieves real-time weather data from Weather API, formats it into readable tables, and saves forecasts to text files for offline access.
The Problem & User Needs
Command-line users and developers often prefer fetching utility information like weather without leaving the terminal. The goal was to build a clean CLI tool that formats complex JSON weather data into easily readable text tables.
Role & Contributions
Backend Developer (Internship Project)
API integration, data parsing, CLI formatting, and implementing file I/O operations.
Research Methods
Evaluated several weather APIs (OpenWeatherMap vs. WeatherAPI) based on documentation clarity, response time, and JSON structure complexity. Determined the necessary data fields required for a concise terminal output.
Design Process & Architecture
Extracted relevant fields (temp, conditions, dates) from deeply nested API responses.
Designed a tabular output format that aligns properly regardless of terminal width.
Separated concerns into distinct functions: fetch, format, and save, ensuring clean code.

Measurable Outcomes
Successfully delivered a robust CLI tool handling network errors gracefully. The project cemented foundational skills in REST API consumption, JSON parsing, and Python scripting.
