wttr.in icon indicating copy to clipboard operation
wttr.in copied to clipboard

Where options are documented?

Open pvonmoradi opened this issue 2 years ago • 7 comments

Where are the docs for options? For example what does this option do? tqp0 I know it sets transparency to 150 by default but what are the rest?

pvonmoradi avatar Feb 06 '22 01:02 pvonmoradi

Where are the docs for options? For example what does this option do? tqp0 I know it sets transparency to 150 by default but what are the rest?

That:

View options:
    0                       # only current weather
    q                       # quiet version (no "Weather report" text)
PNG options:
    p                       # add frame around the output
    t                       # transparency 150

Excerpts and headers from https://wttr.in/:help Here's an example of what that would return.

https://wttr.in/@github.dev.png?tqp0

https://wttr.in/@github.dev.png?tqp0

hello-smile6 avatar Feb 06 '22 01:02 hello-smile6

@hello-smile6 many thanks :)

pvonmoradi avatar Feb 06 '22 01:02 pvonmoradi

@hello-smile6 many thanks :)

There really should be a link to the help page when it's shown in the browser, or at least at the beginning of the README. If a Twitter account is linked, then why not link the documentation?

hello-smile6 avatar Feb 06 '22 01:02 hello-smile6

@hello-smile6 Agreed! Btw, when v2 and png is used, it seems none of the 0 or p or q options actually do anything

pvonmoradi avatar Feb 06 '22 01:02 pvonmoradi

@hello-smile6 Agreed! Btw, when v2 and png is used, it seems none of the 0 or p or q options actually do anything

Huh.

hello-smile6 avatar Feb 06 '22 02:02 hello-smile6

@hello-smile6 Agreed! Btw, when v2 and png is used, it seems none of the 0 or p or q options actually do anything

Strange. I decided to create https://github.com/chubin/wttr.in/pull/699 , just in case there could be a link to the documentation at the top.

hello-smile6 avatar Feb 06 '22 02:02 hello-smile6

Not sure what 0, p and q should mean for v2. I think they make sense only for v1. Do you have some ideas what could it be?

chubin avatar Mar 26 '22 18:03 chubin