Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
api:geoip [2017-07-04T22:46:46Z] – created fusl | api:geoip [2017-09-30T14:29:36Z] – fusl | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== GeoIP API ====== | + | ====== Tier 2 GeoIP API ======= |
The GeoIP API returns a list of the nearest OpenNIC [[opennic: | The GeoIP API returns a list of the nearest OpenNIC [[opennic: | ||
===== The API ===== | ===== The API ===== | ||
The APIs base URL is at https:// | The APIs base URL is at https:// | ||
+ | |||
+ | This wiki page is a clone of the [[https:// | ||
===== URL Parameters ===== | ===== URL Parameters ===== | ||
Line 43: | Line 45: | ||
| lon | -50 | 33.45 | Set the reference longitude for your location | | | lon | -50 | 33.45 | Set the reference longitude for your location | | ||
| ipv | 4 | 6 | Specify which class of IP addresses to return. \\ 4 - Only list IPv4 servers \\ 6 - Only list IPv6 servers \\ all - Include both IPv4 and IPv6 servers | | | ipv | 4 | 6 | Specify which class of IP addresses to return. \\ 4 - Only list IPv4 servers \\ 6 - Only list IPv6 servers \\ all - Include both IPv4 and IPv6 servers | | ||
- | | rnd | true | | Randomize the returned server order (omit this parameter to disable randomization) | + | | rnd | true | false | Randomize the returned server order | |
| wl | all | none | Include whitelist servers in the results. \\ If you specify wl=all, ONLY whitelist servers will be shown. | | | wl | all | none | Include whitelist servers in the results. \\ If you specify wl=all, ONLY whitelist servers will be shown. | | ||
+ | | anon | true | false | Return servers with anonymized logs only | | ||
==== Examples ==== | ==== Examples ==== | ||
Line 51: | Line 54: | ||
| ? | | ? | ||
| ? | | ? | ||
+ | |||
+ | ===== Known issues ===== | ||
+ | The GeoIP API is known to report servers in an inaccurate or wrong location. The GeoIP API uses [[https:// |