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

Western Couples Horoscope API

"operation": "western-couples-horoscope"

ਦੋ ਲੋਕਾਂ ਲਈ ਰੋਜ਼ਾਨਾ ਭਵਿੱਖਬਾਣੀ ਦਿਖਾਓ।

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

ਬੇਨਤੀ

ਗਣਨਾ ਕਰੋ

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

ਇਹ ਨਮੂਨਾ ਪੈਰਾਮੀਟਰ parameters ਹੇਠ ਭੇਜੋ: person_a, person_b, date, tz_str। ਬੇਨਤੀ ਵਿੱਚ ਦਿਖਾਇਆ 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":{"person_a":{"datetime":"1990-01-01T12:00:00+00:00","location":{"lat":40.71,"lng":-74,"city":"New York"}},"person_b":{"datetime":"1992-05-15T14:30:00+00:00","location":{"lat":48.85,"lng":2.35,"city":"Paris"}},"date":"2026-02-25","tz_str":"America/New_York"},"operation":"western-couples-horoscope"}'

ਜਵਾਬ

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

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

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "western-couples-horoscope",
    "result": {
      "summary": {
        "scores": {
          "romance": 68,
          "communication": 72
        }
      }
    }
  },
  "calculated": true
}

ਪੱਛਮੀ

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

data.result ਤੋਂ ਮਿਤੀ ਅਤੇ ਰਿਸ਼ਤੇ ਦੀ ਭਵਿੱਖਬਾਣੀ ਦਿਖਾਓ। ਉਦਾਹਰਨ ਫ਼ੀਲਡ: data.result.summary.scores।

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