This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Nominatim usage policy: HTTP Referers and User-Agents

1

Hi all,

I've got a question on the Nominatim Usage Policy that will probably sound stupid to many of you, but have very limited experience with APIs and just want to make sure to get it right. The policy states:

Provide a valid HTTP Referer or User-Agent identifying the application (stock User-Agents as set by http libraries will not do).

and I simply don't know what this means - if I were to write a Python script using the requests library in combination with the API and do a simple requests.get(url), would that be OK (given I'll abide by the other rules, like the request limit), or would that exactly be what falls under "stock User-Agents as set by http libraries"? In the latter case, what would I have to change to make it comply?

Thanks for the help!

asked 15 Apr '20, 15:42

Ratatoskr's gravatar image

Ratatoskr
31225
accept rate: 0%

edited 15 Apr '20, 15:42


One Answer:

5

answered 15 Apr '20, 16:49

Firefishy's gravatar image

Firefishy ♦♦
1.3k73652
accept rate: 29%

Source code available on GitHub .