paint-brush
Easily getting a user’s country, currency, timezone or language from their IP addressby@bigilui
30,024 reads
30,024 reads

Easily getting a user’s country, currency, timezone or language from their IP address

by Bigi Lui2mAugust 3rd, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In many projects in the past, when I’ve had to use a Geo IP <a href="https://hackernoon.com/tagged/api" target="_blank">API</a> service to look up a user’s IP address, it was usually for one of several reasons — getting the user’s country (for geo-locking certain features, or defaulting to certain sections or categories of the site), defaulting a user’s created account to a certain currency, getting their timezone to appropriately time retention emails or notifications, or setting a default language. (for the last case, usually in conjunction with an Accept-Language HTTP header)

Company Mentioned

Mention Thumbnail
featured image - Easily getting a user’s country, currency, timezone or language from their IP address
Bigi Lui HackerNoon profile picture
Bigi Lui

Bigi Lui

@bigilui

L O A D I N G
. . . comments & more!

About Author

Bigi Lui HackerNoon profile picture
Bigi Lui@bigilui

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Lancaster
Arzbtc
Lancaster
Carpefutura
Zephyrnet
Cyberfishnews