friendica-addons/geonames
Hypolite Petovan 2fc7356cf4 [various] Set config loaded from default values to SOURCE_STATIC
- This prevents from clobbering values loaded from base `config/` folder
2022-11-20 12:44:53 -05:00
..
config [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00
lang FR translation of various addons updated 2022-08-19 19:37:09 +02:00
templates [various] Convert addon_settings hook functions to the new data array format 2021-11-29 06:55:16 -05:00
geonames.php [various] Set config loaded from default values to SOURCE_STATIC 2022-11-20 12:44:53 -05:00
README.md [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00

Geonames Addon

Authors Mike Macgirvin.

Use Geonames service to resolve nearest populated location for given latitude, longitude.

Installation

Pre-requisite: Register a username at https://www.geonames.org/login and set it in config/geonames.config.php:

return [
	'geonames' => [
		'username' => 'your_username'
	],
];

Also visit https://geonames.org/manageaccount and enable access to the free web services.