openweathercli

A CLI that uses Open Weather Map to provide current weather conditions


Keywords
weather, cli, openweathermap, weather-cli
License
Other
Install
pip install openweathercli==1.0.1

Documentation

Weather CLI

This is a small weather CLI I made in python using the OpenWeatherMap API

Examples

London Boston UK

This also works with separate states (with the --state argument), but I couldn't think of any examples to use this with

Installation

sudo pip install openweathercli

Removal

sudo pip uninstall openweathercli

OpenWeatherMap API key

Go to https://openweathermap.org/ and press Sign In Then, once you have signed back in (or created an account), you will see an interface such as this one Home Along the top, press API Keys API Keys And generate a new key like this (unless you want to use an existing API key)New Key Then a new key will be generated and there will be a box that looks somewhat like this Key Copy the text within the box, and then run the script. When you run it for the first time, it will prompt you like this:

Prompt