-
exec/load/openweathermap.
From
echicken@VERT to
CVS commit on Sat Jan 5 18:32:00 2019
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 Sat Jan 5 18:58:00 2019
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 Sat Jan 5 19:13:00 2019
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 Sun Jan 6 10:27:00 2019
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 Sun Jan 6 11:58:00 2019
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 Sun Jan 6 15:48:00 2019
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 Mon Jan 21 10:04:00 2019
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 Fri Jan 25 08:15:00 2019
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