Use a proper domain name in ipapi_com lookup (#1020)
* Add ip-api.com (ip lookup) support This service returns better coordinates for Europe than other free ip lookup services available in geocoder. * Clean the results class Remove default responses for fields. * Remove checking fields in url query API already handles unknown fields, so this check is unnecessary. * Add a test for using parameters directly in search method * Use proper domain name Use pro.ip-api.com domain in case when api key is in use, otherwise just ip-api.com. * Handle invalid api key * Add forsaken fixture * Make uniform an invalid key handler with the other geocoder lookups
test/fixtures/ipapi_com_74_200_247_60
0 → 100644
Please register or sign in to comment