-
exec/load/openweathermap.js
From
echicken@VERT to
CVS commit on Saturday, January 05, 2019 23:32:41
exec/load openweathermap.js NONE 1.1
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv27185
Added Files:
openweathermap.js
Log Message:
Barebones interface to the openweathermap.org web API.
Cache and rate limiting is useless right now unless calling script is long-lived.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Saturday, January 05, 2019 23:58:52
exec/load openweathermap.js 1.1 1.2
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv30225
Modified Files:
openweathermap.js
Log Message:
File-based cache and rate-limiting.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sunday, January 06, 2019 00:13:53
exec/load openweathermap.js 1.2 1.3
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv31690
Modified Files:
openweathermap.js
Log Message:
Use system.temp_dir instead of polluting system.data_dir.
Instead of one large cache file, one file per endpoint + param set.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sunday, January 06, 2019 15:27:03
exec/load openweathermap.js 1.3 1.4
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv29274
Modified Files:
openweathermap.js
Log Message:
Some convenience methods for temperature conversion & wind direction from degrees.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sunday, January 06, 2019 16:58:09
exec/load openweathermap.js 1.4 1.5
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv7930
Modified Files:
openweathermap.js
Log Message:
Simplified wind direction from degrees thing.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sunday, January 06, 2019 20:48:29
exec/load openweathermap.js 1.5 1.6
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv8091
Modified Files:
openweathermap.js
Log Message:
Pass freedom units of temperature measurement through Math.round().
Use 'dt' value of API response to determine whether to update cache, rather than time since last fetch. New data may appear sooner.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Monday, January 21, 2019 15:04:05
exec/load openweathermap.js 1.6 1.7
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv22526
Modified Files:
openweathermap.js
Log Message:
Added 'raw' parameter to call_api, for fetching non-JSON data.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Friday, January 25, 2019 13:15:38
exec/load openweathermap.js 1.7 1.8
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv17533
Modified Files:
openweathermap.js
Log Message:
Don't cache response if HTTP response code out of range of goodness.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
mcmlxxix@VERT to
CVS commit on Wednesday, May 15, 2019 09:05:13
exec/load openweathermap.js 1.8 1.9
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv19246
Modified Files:
openweathermap.js
Log Message:
don't crash if there is no openweathermap section in modopts.ini
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
mcmlxxix@VERT to
CVS commit on Wednesday, May 15, 2019 09:40:39
exec/load openweathermap.js 1.9 1.10
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv4859
Modified Files:
openweathermap.js
Log Message:
throw exception on no api key found in modopts.ini
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Friday, August 16, 2019 08:00:13
exec/load openweathermap.js 1.10 1.11
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv12764
Modified Files:
openweathermap.js
Log Message:
'mode' param can be omitted in call_api unless you don't want json.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
Git commit to main/sbbs/master on Wednesday, April 24, 2024 10:12:09
-
From
echicken@VERT to
Git commit to main/sbbs/master on Wednesday, April 24, 2024 11:49:17
-
From
echicken@VERT to
Git commit to main/sbbs/master on Wednesday, April 24, 2024 15:00:30