martinberlin / cale-integrations

CALE configurator to add APIs to your epaper screens - PHP/Symfony 4.4
https://cale.es
MIT License
6 stars 0 forks source link

IP to location #3

Closed martinberlin closed 4 years ago

martinberlin commented 4 years ago

Make a command to import

https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude

Or actually evaluate if it makes sense to make a command since there is a way to import this with a mysql sentence provided in that link. Make the initial import, making ipToLocation a Doctrine entity, and leaving it ready for #2 -> location APIs

Option B and faster : http://api.ipstack.com/91.65.116.40?access_key=TOKEN&output=Json

martinberlin commented 4 years ago

Done in #2