కంటెంట్‌కు వెళ్లండి
API key పొందండి
పాశ్చాత్యశాండ్‌బాక్స్

Western Astrocartography Recommendations API

"operation": "western-astrocartography-recommendations"

ఎంచుకున్న లక్ష్యం కోసం గమ్యస్థానాలకు ర్యాంక్ ఇవ్వండి.

POST/v1/astrology/calculate
  • నెలకు 500 ఉచిత కాల్స్
  • కార్డ్ అవసరం లేదు
  • విఫలమైన గణనలు ఉచితం

రిక్వెస్ట్

గణన చేయండి

మీ API key తో మీ సర్వర్ నుంచి "operation": "western-astrocartography-recommendations" ను POST /v1/astrology/calculate కు పంపండి.

ఈ నమూనా పారామీటర్‌లను parameters కింద పంపండి: natal, focus, country_scope, countries, limit, min_population. రిక్వెస్ట్‌లో చూపిన 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":1995,"month":9,"day":5,"hour":20,"minute":0,"city":"Paris","lat":48.8566,"lng":2.3522,"tz_str":"Europe/Paris","time_known":true,"house_system":"placidus"},"focus":"home","country_scope":"selected_countries","countries":["FR","ES","PT"],"limit":10,"min_population":100000},"operation":"western-astrocartography-recommendations"}'

రెస్పాన్స్

తిరిగి ఏమి వస్తుంది.

ఉదాహరణ రెస్పాన్స్ భాగం

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "western-astrocartography-recommendations",
    "result": {
      "results": [
        {
          "city": {
            "name": "Lisbon"
          },
          "score": 63,
          "summary": "Several supportive indicators."
        }
      ]
    }
  },
  "calculated": true
}

పాశ్చాత్య

ఫలితంతో నిర్మించండి

data.result నుంచి గమ్యస్థానాల పేర్లు, ర్యాంకింగ్, స్కోర్‌లను చూపించండి. ఉదాహరణ ఫీల్డ్: data.result.results.

విజయవంతమైన ఒక కాల్ ఒక కంటెంట్ రిక్వెస్ట్‌ను ఉపయోగిస్తుంది. శాండ్‌బాక్స్, లైవ్ రిక్వెస్ట్‌ల వినియోగం వేర్వేరుగా లెక్కించబడుతుంది. విఫలమైన గణనలకు రిక్వెస్ట్ తిరిగి ఇవ్వబడుతుంది.