From cc7742af3df3be5e4d9804484ee9816f08766314 Mon Sep 17 00:00:00 2001 From: Matthew Chambers Date: Sat, 5 Feb 2022 09:54:14 -0600 Subject: [PATCH] rough start for pota stuff --- package.nw/lib/pota.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package.nw/lib/pota.js diff --git a/package.nw/lib/pota.js b/package.nw/lib/pota.js new file mode 100644 index 00000000..5219d1c2 --- /dev/null +++ b/package.nw/lib/pota.js @@ -0,0 +1,22 @@ +// GridTracker Copyright © 2022 GridTracker.org +// All rights reserved. +// See LICENSE for more information. + +var g_potaPlace = Object; +var g_potaSpot = Object; + +function g_getPotaPlaces() +{ + // get list of all parks + // we need to see if ever run and update 1x a week +} + +function g_getPotaSpots() +{ + // if Pota Spotting enabled, get spots +} + +function g_sendPotaSpot() +{ + // if Pota spotting enabled, and we have enough info, send a spot to Pota +}