arso

0.0.1 • Public • Published

Vreme za Slovenijo

Vir podatkov je ARSO in opendata.si. Narejeno za potrebe conky gradnika.

➜ ~>arso -h

  Usage: arso [options] [command]

  Commands:

    vreme <kraj> [json_kljuc] Vreme za izbrani <kraj>, [json_kluc] v json dokumentu
    razmere <kraj> [json_kljuc] Radarske za izbrani <kraj>, [json_kluc] v json dokumentu
    napoved <kraj> [json_kljuc] Napoved za naslednjih 12 ur za izbrani <kraj>, [json_kluc] v json dokumentu

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Namestiev

Za delovanje potrebuje nodejs.

[sudo] npm -g install arso

Trenutno stanje za Ljubljano v JSON

➜ ~>arso vreme "Ljubljana"
{ domain_longTitle: 'Ljubljana',
  domain_lat: '46.07',
  domain_lon: '14.52',
  domain_altitude: '299',
  tsValid_issued: '01.06.2013 10:30 CEST',
  t: '14.4' }

Trenutna temperatura v Ljubljani

➜ ~>arso vreme "Ljubljana" "t"
14.4

Readme

Keywords

none

Package Sidebar

Install

npm i arso

Weekly Downloads

3

Version

0.0.1

License

MIT

Last publish

Collaborators

  • dz0ny