awards
This commit is contained in:
@@ -17,6 +17,7 @@ const hunterLogURL = "https://api.pota.app/user/logbook?hunterOnly=1&page=%d&siz
|
||||
// a park activator, carrying the park reference to stamp onto the local QSO.
|
||||
type HunterQSO struct {
|
||||
Worked string `json:"worked"` // activator callsign (the station worked)
|
||||
Hunter string `json:"hunter"` // YOUR callsign for this hunt (may vary: F4BPO, XV9Q…)
|
||||
Date time.Time `json:"date"` // QSO date/time (UTC)
|
||||
Band string `json:"band"` // ADIF band, e.g. "20m"
|
||||
Mode string `json:"mode"` // logged mode
|
||||
@@ -95,6 +96,7 @@ func FetchHunterLog(ctx context.Context, token string, logf func(string, ...any)
|
||||
}
|
||||
out = append(out, HunterQSO{
|
||||
Worked: act,
|
||||
Hunter: strings.ToUpper(strings.TrimSpace(e.WorkedCallsign)), // your call for this hunt
|
||||
Date: parseHunterTime(e.QSODateTime),
|
||||
Band: strings.ToLower(strings.TrimSpace(e.Band)),
|
||||
Mode: strings.ToUpper(strings.TrimSpace(e.LoggedMode)),
|
||||
|
||||
Reference in New Issue
Block a user