wap

Version, currently master branch1 version
  • master branchlatestMar 14, 2025

github.com/RHallberg/wap

Get Swedish current weather for your terminal or dwmblocks

0 stars
0 dependents
License: GPLv3

Installation

# Add this to your shard.yml
dependencies:
  wap:
    github: RHallberg/wap
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.15.1
License
GPLv3
Author
RHallberg
Target
  • wap from src/wap.cr

Dependencies

This version declares no dependencies.

README

wap

WAP, Weather App.

Meant to be used with SMHI's API to fetch weather information for display in terminal or in something like dwmblocks.

Installation

Dependencies: The crystal language

Just do crystal build --release src/wap.cr

Usage

Provide the API url as well as the station id for the temperature and the station id for prognosis as input arguments. You can find the station ids on SMHIs website.

./wap opendata-download.example.com TEMPERATURE_STATION_ID PROGNOSIS_STATION_ID

Contributors