OSDN Git Service

plasma: deal with TODO [ci skip]
authorIvailo Monev <xakepa10@gmail.com>
Mon, 25 Apr 2022 16:20:12 +0000 (19:20 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Mon, 25 Apr 2022 16:20:27 +0000 (19:20 +0300)
commit2cbfe1d759e7c4b4bc1a81c521d4ab213dee950d
tree23bf161643f2841e794f131c5ea58e4c0ed2d066
parent0a595704ee282bb8122f55a85e71405a8de76fcf
plasma: deal with TODO [ci skip]

brute-force guess:
curl ipinfo.io/json
{
  "ip": "xx.xx.xx.xx",
  "city": "Dve Mogili",
  "region": "Ruse",
  "country": "BG",
  "loc": "43.5926,25.8749",
  "org": "AS59900 Balkan Internet Exchange Ltd",
  "postal": "7158",
  "timezone": "Europe/Sofia",
  "readme": "https://ipinfo.io/missingauth"
}

smil3y@debian:~$ curl http://www.geoplugin.net/json.gp
{
  "geoplugin_request":"xx.xx.xx.xx",
  "geoplugin_status":200,
  "geoplugin_delay":"2ms",
  "geoplugin_credit":"Some of the returned data includes GeoLite data created by MaxMind, available from <a href='http:\/\/www.maxmind.com'>http:\/\/www.maxmind.com<\/a>.",
  "geoplugin_city":"Byala",
  "geoplugin_region":"Ruse",
  "geoplugin_regionCode":"18",
  "geoplugin_regionName":"Ruse",
  "geoplugin_areaCode":"",
  "geoplugin_dmaCode":"",
  "geoplugin_countryCode":"BG",
  "geoplugin_countryName":"Bulgaria",
  "geoplugin_inEU":1,
  "geoplugin_euVATrate":20,
  "geoplugin_continentCode":"EU",
  "geoplugin_continentName":"Europe",
  "geoplugin_latitude":"43.4465",
  "geoplugin_longitude":"25.7358",
  "geoplugin_locationAccuracyRadius":"1",
  "geoplugin_timezone":"Europe\/Sofia",
  "geoplugin_currencyCode":"BGN",
  "geoplugin_currencySymbol":"лв",
  "geoplugin_currencySymbol_UTF8":"лв",
  "geoplugin_currencyConverter":1.812
}

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
plasma/dataengines/geolocation/location_ipinfo.cpp