Skip to content

Get user's country name and country fag based on his ip address

Notifications You must be signed in to change notification settings

egbakou/user-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Get user's country name and country fag based on his ip address

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published