Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 467 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 467 Bytes

Get user’s country name and country flag based on his IP address

I have used 3 API to do this project:

  1. api.ipify to get user’s IP address.
  2. ipapi to get the country code based on the IP address return by ipify.
  3. restcountries to get country name and flag based on the code.

See the Demo