Pragmatic Software
|
6b6299738f
|
Add `includelocation=yes` to weather-data query string
The WWO request parameters can accept `includelocation=yes` to include
the nearest weather point in the JSON results.
This is useful to display the name of the location.
source: https://www.worldweatheronline.com/developer/api/docs/local-city-town-weather-api.aspx
|
5 years ago |
Pragmatic Software
|
f956f4ef94
|
Add extra=localObsTime to weather-data fetch query
The `extra` parameter can accept multiple values. The one we're interested in
is `localObsTime`. What it does is:
Adds the current weather observation time in UTC as well as local time of the location requested.
source: https://www.worldweatheronline.com/developer/api/docs/local-city-town-weather-api.aspx
|
5 years ago |
Igor Chubin
|
918a026422
|
added code of the geolocation proxy
|
5 years ago |
Igor Chubin
|
b1ea9be11f
|
minor fixes
|
5 years ago |
Igor Chubin
|
d78996af54
|
bin/proxy.py: handle query timeouts
|
5 years ago |
Igor Chubin
|
3b00e2445b
|
_touch_empty_file (for debug purposes)
|
5 years ago |
Igor Chubin
|
94047e1e5b
|
wwo url fixed
|
5 years ago |
Igor Chubin
|
49376a9871
|
use WTTRIN_SRV_PORT env variable if specified
|
5 years ago |
Igor Chubin
|
c9ea3315a7
|
Merge branch 'master' into master
|
5 years ago |
cclauss
|
7c47cd7d0c
|
Modernize Python 2 code to get ready for Python 3
|
6 years ago |
Igor Chubin
|
5353cc3a17
|
bin/proxy.py clean up
|
6 years ago |
Igor Chubin
|
a25afe4771
|
moved server related code back to bin/srv.py
|
6 years ago |
Igor Chubin
|
d7ec9ac840
|
moved srv.py to lib/
|
6 years ago |
Igor Chubin
|
bdfb02ed44
|
minor cleanup
|
6 years ago |
Igor Chubin
|
f9e38c367d
|
minor code cleanup
|
6 years ago |
Igor Chubin
|
0b65985a71
|
added LISTEN_HOST and LISTEN_PORT
|
6 years ago |
Igor Chubin
|
ceae32a7da
|
big part of wttr()
|
6 years ago |
Igor Chubin
|
df5b33c662
|
show_help()
|
6 years ago |
Igor Chubin
|
8e1479f6ba
|
User-Agent can be omited
|
6 years ago |
Igor Chubin
|
ef3cb4dd7c
|
added parse_accept_language()
|
6 years ago |
Igor Chubin
|
5d7a87afb0
|
show_help()
|
6 years ago |
Igor Chubin
|
e120196259
|
added find_supported_language()
|
6 years ago |
Igor Chubin
|
3a5335ff0c
|
syncing livecode with github code, step1
|
6 years ago |
Igor Chubin
|
bcdd09c768
|
added /malformed-response.html route
|
6 years ago |
Igor Chubin
|
c7c0430699
|
request restrictions relaxed
|
6 years ago |
Igor Chubin
|
c2b3777754
|
added bin/proxy.py
|
6 years ago |
eric
|
cfacc1ea5f
|
support for IPv6 hosts
|
7 years ago |
Sebastian Haas
|
6e5efdeb5e
|
Support DNS LOC record for @<domain> queries
Query LOC record first; use IP address as fallback.
|
7 years ago |
Santiago Basulto
|
32c1686878
|
Remove PLAIN_TEXT_AGENTS from globals scope and add python-requests
|
8 years ago |
Igor Chubin
|
430c56e946
|
Merge pull request #26 from pkulev/pr-moveout-plain-agents
refactor: move out plain text agents to separate list.
|
8 years ago |
Igor Chubin
|
cfea6b5f29
|
Merge pull request #44 from ogarcia/host_port_and_fix
Add host and port configuration and fix unicode decode error
|
8 years ago |
Igor Chubin
|
6a7b58e54e
|
Merge pull request #40 from kromanenko/code-style
Code style
|
8 years ago |
Artanicus
|
3ae8d8ddfe
|
Remove debug print I forgot in
|
8 years ago |
Artanicus
|
2bed3a84c8
|
wego doesn't have a city flag anymore, it's location now
|
8 years ago |
Óscar García Amor
|
9e0a9a5d39
|
Fixed unicode decode error
|
9 years ago |
Kyrylo Romanenko
|
d8750b4e75
|
Minor code style fix
Fix indentation and typo.
|
9 years ago |
Kyrylo Romanenko
|
68637bd71b
|
Remove unused imports
|
9 years ago |
Óscar García Amor
|
a9f4bf18af
|
Added support to configure listen host and port
|
9 years ago |
Pavel Kulyov
|
afc8eafd61
|
refactor: move out plain text agents to separate list.
|
9 years ago |
Christian Garbs
|
eb2817a20e
|
add 'lwp-request' to non-html user agents
this should make /usr/bin/GET from libwww perl output plain text instead of HTML
|
9 years ago |
Igor Chubin
|
a5ff1234f2
|
Merge pull request #3 from aar0nTw/master
Disable html output when use httpie
|
9 years ago |
Sergio Santoro
|
7bb8d58739
|
Use environment variables for configuration
|
9 years ago |
Aaron Huang
|
227fa64211
|
Disable html output when use httpie
|
9 years ago |
Igor Chubin
|
757baad76a
|
added favicon.ico
|
9 years ago |
Igor Chubin
|
05c224c68d
|
checked wttr.in in
|
9 years ago |