Skip to content

Commit

Permalink
Added venv-style API key
Browse files Browse the repository at this point in the history
  • Loading branch information
Karel-van-de-Plassche committed Feb 5, 2025
1 parent 21299ef commit f34d5a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/fireDeMeern.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from itertools import product
from pathlib import Path
from PIL import Image, ImageDraw
import os

from knmi.metadata import variables as knmi_variables
from knmi.knmi import winddir_mapping
Expand Down Expand Up @@ -347,7 +348,7 @@ def cut_weather_figure(file_path):
# weather_image_path = Path("C:/Users/karel/Downloads/kindle_weather_display_icons.png")
# cut_weather_figure(weather_image_path)
# API settings.
api_key = "" # de API key
api_key = os.environ["CIVITY_CKAN_API_KEY"]

# File system settings.
prefix = "api_gegevens" # de prefix voor de csv-datafiles; default format <prefix>_<yyyy>_<mm>.csv
Expand Down

0 comments on commit f34d5a1

Please sign in to comment.