Skip to content

Conversation

dpward
Copy link

@dpward dpward commented Mar 20, 2023

The Nominatim Usage Policy requires the application to be identified in HTTP requests. In this context, TkinterMapView is not the application; it is a library. Calling applications need to pass a User-Agent string. (Notice the corresponding documentation for geopy.)

This adds a unique User-Agent to each example. (Additionally, fix the window title in several examples, and make the import statements consistent.)

dpward added 3 commits March 19, 2023 19:43
The Nominatim Usage Policy requires the application to be identified in
HTTP requests. In this context, TkinterMapView is not the application;
it is a library. Calling applications need to pass a User-Agent string.
@newcomb-luke
Copy link

In the case of my team, this has now become a problem because some user of this library has spammed the search API and it seems to have temporarily banned the user agent. I'd like to see this in a future release of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants