2. Setting API Key
After selecting reverse geocode provider, you need to provide an API key. There are three ways to provide this API key;
- Send as an argument every time
- Use persist a setting to save it as configuration, so you don't need to submit everytime.
- Use environment variable, so you don't need to submit everytime.
Reverse Geocode Provider | Settings Key | Environment Variable | Argument |
---|---|---|---|
BigDataCloud | BigDataCloudApiKey | PHOTO_CLI_BIG_DATA_CLOUD_API_KEY | -b or --bigdatacloud-key |
Open Street Map Foundation - Nominatim | - | - | - |
GoogleMaps | GoogleMapsApiKey | PHOTO_CLI_GOOGLE_MAPS_API_KEY | -k or --googlemaps-key |
LocationIq | LocationIqApiKey | PHOTO_CLI_LOCATIONIQ_API_KEY | -q or --locationiq-key |