api:geoip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
api:geoip [2017-07-04T23:01:30Z] fuslapi:geoip [2017-09-30T14:29:36Z] fusl
Line 1: Line 1:
-===== Tier 2 GeoIP API ======+====== Tier 2 GeoIP API =======
 The GeoIP API returns a list of the nearest OpenNIC [[opennic:tier2|Tier 2]] servers. The GeoIP API returns a list of the nearest OpenNIC [[opennic:tier2|Tier 2]] servers.
  
 ===== The API ===== ===== The API =====
 The APIs base URL is at https://api.opennicproject.org/geoip/ The APIs base URL is at https://api.opennicproject.org/geoip/
 +
 +This wiki page is a clone of the [[https://api.opennicproject.org/geoip/?help|?help page]] with some fancy tables and extra glitter.
  
 ===== 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 ====
  • /wiki/data/pages/api/geoip.txt
  • Last modified: 6 years ago
  • by kewlfft