Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 674 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 674 Bytes

AutoWeatherPtt

Post daily weather information on pttbbs or any other bbs.

Install

Install requirement from requirements.txt

$ pip install -r requirements.txt

Run weather.py with Python(>=3.7) and load config from command line

./weather.py exec -k APIKEY

Run weather.py with Python(>=3.7) and load config from config.json

./weather.py config [-h] filepath

Argument Information

Argument Name Alias Description
--apikey -k apikey of cwb opendata

Config Spec

A JSON file as below is required

{
    "apikey": "CWB-********-****-****-****-************",
}