KU
API & MCPBelgekirin

Platforma Ajan û API ya Mariner GPS Tools

Beraliya rastîn a destpêkê hesab bike

Beraliya rastîn a destpêkê ji cîhekî ber bi cîhekî din ve hesab bikin.

Navber

POST
REST xala dawî/api/v1/bearing
MCP
Navê amûrêcalculate_bearing

Daxwaz

Daxwazê ​​wekî JSON bişînin. Xerîdarên MCP heman zeviyan wekî argumanên amûrê derbas dikin.

cURLshell
curl -X POST https://marinergps.tools/api/v1/bearing \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "from": {
    "lat": 50.1,
    "lng": -4.2
  },
  "to": {
    "lat": 49.8,
    "lng": -3.1
  }
}'
Bedena daxwazêjson
{
  "from": {
    "lat": 50.1,
    "lng": -4.2
  },
  "to": {
    "lat": 49.8,
    "lng": -3.1
  }
}

Bersiv

REST encama hesabkirinê di zerfa serkeftina standard de dipêçe. MCP heman daneya hesabkirinê wekî derketina amûra sazkirî vedigerîne.

JSON
{
  "ok": true,
  "data": {
    "degrees": 112.54786806700503,
    "compass": "ESE"
  }
}

Şema

Danasînên li jêr Şemaya JSON a tevahî nîşan didin ku ji bo rastandina têketinan û danasîna derketinan tê bikaranîn.

Şemaya têketinê

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "from": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "lat": {
          "type": "string",
          "description": "Latitude as signed decimal degrees (-33.8688), decimal degrees with a hemisphere letter (33.8688° S), degrees and decimal minutes (33° 52.13′ S) or DMS (51° 30′ 26.4″ N). S is negative. Do not combine a sign with a hemisphere letter."
        },
        "lng": {
          "type": "string",
          "description": "Longitude as signed decimal degrees (-4.15), decimal degrees with a hemisphere letter (4.15° W), degrees and decimal minutes (4° 09.0′ W) or DMS (0° 07′ 39″ W). W is negative. Do not combine a sign with a hemisphere letter."
        }
      },
      "required": [
        "lat",
        "lng"
      ]
    },
    "to": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "lat": {
          "type": "string",
          "description": "Latitude as signed decimal degrees (-33.8688), decimal degrees with a hemisphere letter (33.8688° S), degrees and decimal minutes (33° 52.13′ S) or DMS (51° 30′ 26.4″ N). S is negative. Do not combine a sign with a hemisphere letter."
        },
        "lng": {
          "type": "string",
          "description": "Longitude as signed decimal degrees (-4.15), decimal degrees with a hemisphere letter (4.15° W), degrees and decimal minutes (4° 09.0′ W) or DMS (0° 07′ 39″ W). W is negative. Do not combine a sign with a hemisphere letter."
        }
      },
      "required": [
        "lat",
        "lng"
      ]
    }
  },
  "required": [
    "from",
    "to"
  ]
}

Şemaya derketinê

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "degrees": {
      "type": "number"
    },
    "compass": {
      "type": "string"
    }
  },
  "required": [
    "degrees",
    "compass"
  ]
}

Encamên benchmarka MCP

Ji bo vê amûrê bi servera MCP ya Mariner GPS Tools a girêdayî û bêyî wê hate pîvandin.

%92kêmtir tokenên ku model çêdikeMedyana vê amûrê li ser 8 ji 9 modelên ku ji bo berawirdkirinê encamên bingehîn ên rast têr hebûn.
5,2×di benchmarkan de leztirMedyana vê amûrê li ser 8 ji 9 modelên ku ji bo berawirdkirinê encamên bingehîn ên rast têr hebûn.
%100bi MCP rast, li hember %93,5 bê amûr108/108 çavdêriyên MCP yên vê amûrê di nav toleransê de.

Pîvandin: îlona 2026an · 9 model · 4 rewşên navîgasyonê · 3 dubarekirin · 216 çavdêrî · MCP ya hilberînê

Belgekirina API & MCP