Closed JohnAD closed 6 years ago
I could also document alternatives such as:
Free:
http://www.hostip.info/use.html
NonFree:
I could make it backward compatible by searching for {ip}
in the string. If missing, use the old behavior. Otherwise, use the new one.
Great catch @JohnAD. I hadn't noticed the announcement.
I could make it backward compatible by searching for {ip} in the string. If missing, use the old behavior. Otherwise, use the new one.
Sounds reasonable to me. If you do it against master we can release it in the 1.x and rebase it into the 2.x code. Don't forget to use thelegacy
parameter OR update the code to use the new schema from ipstack.
I could also document alternatives such as:
I think that's a nice to have. I haven't looked at the alternatives to ensure they return the same schema.
The current default for GeoIP is:
which, according to ipstack.com, is being deprecated. It will stop working July 2018. Fortunately, they are keeping up the free service. But it is now requiring a login to get an API key:
What I'd like to do is generate a PR to update this (and the docs).
I'm thinking of having it make use a
.format
wildcard in the form of:and then updating the documentation to state that the config MUST be updated so that the user can set his/her API key.