NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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


permanent link

answered 15 Apr '20, 16:49

Firefishy's gravatar image

Firefishy ♦♦
1.3k73652
accept rate: 29%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×290
×78
×15

question asked: 15 Apr '20, 15:42

question was seen: 6,747 times

last updated: 15 Apr '20, 16:49

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum