HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by motyar | Hacker News Reader
Full thread
motyar
·
How you detect country code?
View on HN
droyson
·
One api to get the ip details. This provides with the alpha code for the country. A second api to fetch calling code for the country. Code's here:
https://github.com/droyson/wa-connect/blob/main/js/countryCo...
Reply on news.ycombinator.com