Closed ogadit closed 5 years ago
@onury would you like a Pull Request for this?
Reference: https://github.com/nekudocom/shiny_geoip/blob/master/README.md#readme
@ogadit thanks. That's already mentioned in #62.
@ivanoats I actually need help finding a new free + https geo-service to set as default.
Found one free https://www.geojs.io/docs/v1/endpoints/geo/ Seems to be working correctly.
{
provider: 'geojs.io',
url: 'https://get.geojs.io/v1/ip/geo.js',
callbackParam: 'callback',
schema: {
ip: 'ip',
coords: {
latitude: 'latitude',
longitude: 'longitude'
},
address: {
city: 'city',
state: 'state',
stateCode: '',
postalCode: '',
countryCode: 'country_code',
country: 'country',
region: 'region'
}
}
}
Also there is another one https://geoip-db.com/ but I was unable to run it with another callback instead of default one callback(json)
.
Thanks @DarthFly. Released v2.1.5
Please change the api service for locatebyip as the current one throws off an error saying that it has been shutdown