swepam
v0.4.2
Published
a json interface to the swepam readings
Downloads
17
Maintainers
Readme
swepam
:sunny: :dash: :earth_africa: a json interface to the swepam readings
get a solar weather report with this zero-dependency reader for ace-swepam.txt data.
a web api is hosted here for free use. you can also request all data available instead of the most recent reading, if you wish.
install
npm install --global swepam
notes
this program doesn't create an http server, it simply writes json files to disk which can be served with a web server of your choice.
environment variables
SWEPAM_READINGS_ENDPOINT
- ace-swepam web uri (defaults to 'http://services.swpc.noaa.gov/text/ace-swepam.txt')SWEPAM_JSON_PATH
- location of json files written to disk (must match up with nginx configuration)