2023-05-14 10:06:08 +01:00
|
|
|
"""Match OSM and Wikidata items."""
|
|
|
|
|
|
|
|
CallParams = dict[str, str | int]
|
|
|
|
|
|
|
|
user_agent = (
|
2024-05-04 09:50:19 +01:00
|
|
|
"osm-wikidata/0.2 (https://git.4angle.com/edward/owl-map; edward@4angle.com)"
|
2023-05-14 10:06:08 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
def user_agent_headers() -> dict[str, str]:
|
|
|
|
"""User-Agent headers."""
|
|
|
|
return {"User-Agent": user_agent}
|