File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Check all the data we have for your IP address [here](https://ipinfo.io/what-is-
2121 - [Country Name](#country-name)
2222 - [European Union (EU) Country](#european-union-eu-country)
2323 - [Country Flag](#country-flag)
24+ - [Country Currency](#country-currency)
2425- [ Map IP Address] ( #map-ip-address )
2526- [ Summarize IP Address] ( #summarize-ip-address )
2627- [ Caching] ( #caching )
@@ -121,6 +122,17 @@ fmt.Println(info.CountryFlag.Unicode)
121122// Output: "U+1F1F3 U+1F1FF"
122123```
123124
125+ ## Country Currency
126+
127+ Get country's currency code and it's symbol with ` info.CountryCurrency.Code ` and ` info.CountryCurrency.Symbol ` respectively.
128+
129+ ``` go
130+ fmt.Println (info.CountryCurrency .Code )
131+ // Output: USD
132+ fmt.Println (info.CountryCurrency .Symbol )
133+ // Output: $
134+ ```
135+
124136# Map IP Address
125137
126138You can map upto 500,000 IP address all at once using the ` GetIPMap ` command. You can input:
You can’t perform that action at this time.
0 commit comments