You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,17 +12,16 @@ This is the official Go client library for the [IPinfo.io](https://ipinfo.io) IP
12
12
13
13
Check all the data we have for your IP address [here](https://ipinfo.io/what-is-my-ip).
14
14
15
-
16
15
-[Getting Started](#getting-started)
17
-
- [Installation](#installation)
18
-
- [Quickstart](#quickstart)
16
+
-[Installation](#installation)
17
+
-[Quickstart](#quickstart)
19
18
-[Authentication](#authentication)
20
19
-[Internationalization](#internationalization)
21
-
- [Country Name](#country-name)
22
-
- [European Union (EU) Country](#european-union-eu-country)
23
-
- [Country Flag](#country-flag)
24
-
- [Country Currency](#country-currency)
25
-
- [Continent](#continent)
20
+
-[Country Name](#country-name)
21
+
-[European Union (EU) Country](#european-union-eu-country)
22
+
-[Country Flag](#country-flag)
23
+
-[Country Currency](#country-currency)
24
+
-[Continent](#continent)
26
25
-[Map IP Address](#map-ip-address)
27
26
-[Summarize IP Address](#summarize-ip-address)
28
27
-[Caching](#caching)
@@ -32,7 +31,6 @@ Check all the data we have for your IP address [here](https://ipinfo.io/what-is-
32
31
33
32
# Getting Started
34
33
35
-
36
34
You'll need an IPinfo API access token, which you can get by signing up for a free account at [https://ipinfo.io/signup](https://ipinfo.io/signup).
37
35
38
36
The free plan is limited to 50,000 requests per month, and doesn't include some of the data fields such as IP type and company data. To enable all the data fields and additional request volumes see [https://ipinfo.io/pricing](https://ipinfo.io/pricing)
@@ -51,7 +49,6 @@ go get github.com/ipinfo/go/v2/ipinfo
51
49
52
50
Basic usage of the package.
53
51
54
-
55
52
```go
56
53
package main
57
54
@@ -64,7 +61,7 @@ import (
64
61
65
62
funcmain() {
66
63
const token = "YOUR_TOKEN"
67
-
64
+
68
65
// params: httpClient, cache, token. `http.DefaultClient` and no cache will be used in case of `nil`.
The library also supports the [Core API](https://ipinfo.io/developers/data-types#core-data), which provides city-level geolocation with nested geo and AS objects. Authentication with your token is required.
The library also supports the [Plus API](https://ipinfo.io/developers/data-types#plus-data), which provides enhanced data including mobile carrier info and privacy detection. Authentication with your token is required.
The library also supports the [Residential Proxy API](https://ipinfo.io/developers/residential-proxy-api), which allows you to check if an IP address is a residential proxy. Authentication with your token is required.
There are official [IPinfo client libraries](https://ipinfo.io/developers/libraries) available for many languages including PHP, Python, Go, Java, Ruby, and many popular frameworks such as Django, Rails, and Laravel. There are also many third-party libraries and integrations available for our API.
0 commit comments