ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ
API key ਲਓ
ਪੱਛਮੀਸੈਂਡਬਾਕਸ

Western Astrocartography Parans API

"operation": "western-astrocartography-parans"

ਨਕਸ਼ੇ 'ਤੇ ਗ੍ਰਹਿਆਂ ਦੇ ਕਰਾਸਿੰਗ ਜ਼ੋਨ ਦਿਖਾਓ।

POST/v1/astrology/calculate
  • ਹਰ ਮਹੀਨੇ 500 ਮੁਫ਼ਤ ਕਾਲਾਂ
  • ਕਾਰਡ ਦੀ ਲੋੜ ਨਹੀਂ
  • ਅਸਫਲ ਗਣਨਾਵਾਂ ਮੁਫ਼ਤ ਹਨ

ਬੇਨਤੀ

ਗਣਨਾ ਕਰੋ

ਆਪਣੀ API key ਨਾਲ ਆਪਣੇ ਸਰਵਰ ਤੋਂ "operation": "western-astrocartography-parans" ਨੂੰ POST /v1/astrology/calculate 'ਤੇ ਭੇਜੋ।

ਇਹ ਨਮੂਨਾ ਪੈਰਾਮੀਟਰ parameters ਹੇਠ ਭੇਜੋ: natal। ਬੇਨਤੀ ਵਿੱਚ ਦਿਖਾਇਆ birth ਢਾਂਚਾ ਵਰਤੋ। ਵੱਖ-ਵੱਖ ਫ਼ੀਲਡਾਂ ਲਈ, year/month/day ਸਥਾਨਕ ਕੈਲੰਡਰ ਦੇ ਪੂਰਨ ਅੰਕ ਹਨ ਅਤੇ hour/minute ਸਥਾਨਕ 24-ਘੰਟੇ ਦਾ ਸਮਾਂ ਹੈ। lat/lng ਦਸ਼ਮਲਵ ਡਿਗਰੀਆਂ ਹਨ ਅਤੇ tz_str ਇੱਕ IANA ਟਾਈਮਜ਼ੋਨ ਹੈ, ਜਾਂ ਜਿੱਥੇ ਦਿਖਾਇਆ ਹੋਵੇ ਉੱਥੇ AUTO। ਅੰਦਰਲੇ datetime ਅਤੇ location ਆਬਜੈਕਟ ਨਮੂਨੇ ਅਨੁਸਾਰ ਹੁੰਦੇ ਹਨ। ਜਿੱਥੇ ਲਾਗੂ ਹੋਵੇ, ਬੇਨਤੀ ਕਾਲਪਨਿਕ ਇਨਪੁਟ ਵਰਤਦੀ ਹੈ। ਲੋੜ ਪੈਣ 'ਤੇ ਨਮੂਨੇ ਵਿੱਚ ਵਿਕਲਪਿਕ ਸੈਟਿੰਗਾਂ ਵੀ ਸ਼ਾਮਲ ਹਨ।

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters":{"natal":{"year":1990,"month":5,"day":15,"hour":14,"minute":30,"lat":51.5074,"lng":-0.1278,"tz_str":"Europe/London"}},"operation":"western-astrocartography-parans"}'

ਜਵਾਬ

ਬਦਲੇ ਵਿੱਚ ਕੀ ਮਿਲਦਾ ਹੈ।

ਨਮੂਨਾ ਜਵਾਬ ਦਾ ਅੰਸ਼

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "western-astrocartography-parans",
    "result": {
      "parans": [
        {
          "body_a": "sun",
          "body_b": "jupiter",
          "latitude": 24,
          "strongest_focus": "home"
        }
      ]
    }
  },
  "calculated": true
}

ਪੱਛਮੀ

ਨਤੀਜੇ ਨਾਲ ਬਣਾਓ

ਦਿੱਤੇ ਗਏ GeoJSON ਬੈਂਡ ਰੇਖਾਂਸ਼, ਅਕਸ਼ਾਂਸ਼ ਕ੍ਰਮ ਵਿੱਚ ਬਣਾਓ ਅਤੇ ਗ੍ਰਹਿ ਜੋੜਿਆਂ 'ਤੇ ਲੇਬਲ ਲਗਾਓ। ਉਦਾਹਰਨ ਫ਼ੀਲਡ: data.result.parans।

ਇੱਕ ਸਫਲ ਕਾਲ ਇੱਕ ਸਮੱਗਰੀ ਬੇਨਤੀ ਵਰਤਦੀ ਹੈ। ਸੈਂਡਬਾਕਸ ਅਤੇ ਲਾਈਵ ਬੇਨਤੀਆਂ ਦੀ ਵਰਤੋਂ ਵੱਖਰੀ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਅਸਫਲ ਗਣਨਾਵਾਂ ਵਾਪਸ ਕਰ ਦਿੱਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ।