mirror of
https://github.com/craigerl/aprsd.git
synced 2026-03-01 12:40:48 -05:00
The AVWX Based weather plugin requires a subscription to the AVWX API, or to self host a running AVWX API. So this plugin has been moved to it's own external plugin here: aprsd-avwx-plugin: https://github.com/hemna/aprsd-avwx-plugin
25 lines
468 B
Python
25 lines
468 B
Python
from oslo_config import cfg
|
|
|
|
aprsfi_group = cfg.OptGroup(
|
|
name='aprs_fi',
|
|
title='APRS.FI website settings',
|
|
)
|
|
|
|
aprsfi_opts = [
|
|
cfg.StrOpt(
|
|
'apiKey',
|
|
help='Get the apiKey from your aprs.fi account here:http://aprs.fi/account',
|
|
),
|
|
]
|
|
|
|
|
|
def register_opts(config):
|
|
config.register_group(aprsfi_group)
|
|
config.register_opts(aprsfi_opts, group=aprsfi_group)
|
|
|
|
|
|
def list_opts():
|
|
return {
|
|
aprsfi_group.name: aprsfi_opts,
|
|
}
|