geonames-client icon indicating copy to clipboard operation
geonames-client copied to clipboard

Wrong Base URL for Premium usage

Open antonhedling opened this issue 2 years ago • 1 comments

When using the Premium Data plan the Base URL should be https://secure.geonames.net instead of https://secure.geonames.org.

This information came from the email when purchasing a Premium plan

We have enabled your account and you can access the premium server with the domain ws.geonames.net and the ssl domain is https://secure.geonames.net (.net instead of .org for the free server)

This seems to be the case for me as well since I seem to have hit the credits cap on the .org domain while .net works.

There's currently no way to properly override this. I suggest that we either have an additional parameter in the constructor, or move the base url to a config variable.

antonhedling avatar Nov 21 '21 15:11 antonhedling

I've sent Marc (the owner of GeoNames) an email about compatibility with the premium plan. Hopefully, we'll sort things out over the next couple of weeks.

Aternus avatar Nov 27 '21 14:11 Aternus