Western Composite Chart Image API
સંયુક્ત (composite) સંબંધ ચાર્ટ એમ્બેડ કરો.
/v1/astrology/calculate- દર મહિને 500 મફત કૉલ
- કાર્ડની જરૂર નથી
- નિષ્ફળ ગણતરીઓ મફત છે
રિક્વેસ્ટ
ગણતરી કરો
તમારી API key સાથે તમારા સર્વર પરથી "operation": "western-composite-image" ને POST /v1/astrology/calculate પર મોકલો.
આ નમૂના પેરામીટર parameters હેઠળ મોકલો: person_a, person_b. જ્યાં લાગુ પડે ત્યાં રિક્વેસ્ટ કૃત્રિમ ઇનપુટ વાપરે છે. જરૂરી હોય ત્યાં નમૂનામાં વૈકલ્પિક સેટિંગ્સ સામેલ છે.
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parameters":{"person_a":{"year":1990,"month":5,"day":15,"city":"London"},"person_b":{"year":1992,"month":8,"day":6,"city":"Paris"}},"operation":"western-composite-image"}'રિસ્પોન્સ
બદલામાં શું મળે છે.
દૃષ્ટાંતરૂપ રિસ્પોન્સનો અંશ
{
"data": {
"operation": "western-composite-image",
"contentType": "image/png",
"imageBase64": "<PNG bytes encoded as base64>"
},
"calculated": true
}પશ્ચિમી
પરિણામ વડે બનાવો
ચાર્ટને data URI તરીકે રેન્ડર કરવા data.contentType અને data.imageBase64 વાપરો.
એક સફળ કૉલ એક કન્ટેન્ટ રિક્વેસ્ટ વાપરે છે. સેન્ડબોક્સ અને લાઇવ રિક્વેસ્ટના વપરાશના કુલ આંકડા અલગ હોય છે. નિષ્ફળ ગણતરીઓની રિક્વેસ્ટ પાછી મળે છે.
સંબંધિત પશ્ચિમી ક્ષમતાઓ
એ જ Endpoint, બીજું ઑપરેશન.
Western Astrology Chat API
પશ્ચિમી જ્યોતિષ પ્રશ્ન ફૉર્મ ઉમેરો.
"operation": "western-natal"Western Natal Chart API
પશ્ચિમી જન્મ કુંડળી બતાવો.
"operation": "western-natal-insights"Western Natal Insights API
પશ્ચિમી જન્મ કુંડળીની મુખ્ય પૅટર્ન સમજાવો.
"operation": "western-chart-similarity"Western Birth Chart Similarity API
જન્મ કુંડળીની સરખામણી ક્રમબદ્ધ સમાન ચાર્ટના સમૂહ સાથે કરો.
"operation": "western-ephemeris"Western Ephemeris API
પસંદ કરેલી તારીખો માટે ગ્રહોની ગતિ બતાવો.
"operation": "western-astrocartography"Western Astrocartography Lines API
વિશ્વ નકશા પર ગ્રહ રેખાઓ દોરો.
