{
  "info": {
    "name": "Geocoding (SBX-GEOC)",
    "description": "Geri geocoding (bir noktada ne var: ülke, il, ilçe, posta kodu, en yakın şehir) ve IP adresinden ülke. İleri geocoding yakında.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{SBX_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.servicebox.io",
      "type": "string"
    },
    {
      "key": "SBX_API_KEY",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Get coverage",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/geocoding/coverage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "geocoding",
            "coverage"
          ],
          "query": [],
          "variable": []
        },
        "description": "What the lookups cover: the data snapshot, the sources and their licences, and the countries whose postal codes the place lookup can answer. Free.\n\nCredits: 0"
      }
    },
    {
      "name": "Look up an IP address",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/geocoding/ip-addresses/lookup?ip=string",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "geocoding",
            "ip-addresses",
            "lookup"
          ],
          "query": [
            {
              "key": "ip",
              "value": "string",
              "description": "An IPv4 or IPv6 address.",
              "disabled": false
            }
          ],
          "variable": []
        },
        "description": "The country an IPv4 or IPv6 address is registered in. Country level only.\n\nCredits: 1"
      }
    },
    {
      "name": "Look up a point (reverse geocoding)",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/geocoding/places/lookup?lat=0&lon=0",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "geocoding",
            "places",
            "lookup"
          ],
          "query": [
            {
              "key": "lat",
              "value": "0",
              "description": "Latitude (WGS84).",
              "disabled": false
            },
            {
              "key": "lon",
              "value": "0",
              "description": "Longitude (WGS84).",
              "disabled": false
            }
          ],
          "variable": []
        },
        "description": "What is at a point: its country and first-level subdivision (from the nearest city of 1,000+ inhabitants within 100 km), the nearest city, and in Turkey the district and postal code of the nearest located neighbourhood or village within 5 km. Nearest-place, not boundary-based: near a border the nearest city can be across it, so each match carries its distance.\n\nCredits: 1"
      }
    }
  ]
}