14 lines
292 B
Python
14 lines
292 B
Python
|
"""Match OSM and Wikidata items."""
|
||
|
|
||
|
|
||
|
CallParams = dict[str, str | int]
|
||
|
|
||
|
user_agent = (
|
||
|
"osm-wikidata/0.1 (https://github.com/EdwardBetts/osm-wikidata; edward@4angle.com)"
|
||
|
)
|
||
|
|
||
|
|
||
|
def user_agent_headers() -> dict[str, str]:
|
||
|
"""User-Agent headers."""
|
||
|
return {"User-Agent": user_agent}
|