सीधे सामग्री पर जाएँ

Make (Integromat)

Make (पहले Integromat) से Occult API को 1000+ ऐप से जोड़ें।

HTTP मॉड्यूल

HTTP मॉड्यूल → Make a request जोड़ें। URL https://api.occultapi.com/api/astro/rashifal/daily/ रखें और मेथड POST।

हेडर

X-API-Key और Content-Type: application/json जोड़ें।

हेडर
{
  "X-API-Key": "YOUR_API_KEY",
  "Content-Type": "application/json"
}

बॉडी

rashi पैरामीटर वाली JSON बॉडी भेजें।

बॉडी
{
  "rashi": "aries"
}

सिनेरियो का उदाहरण

शेड्यूल ट्रिगर (रोज़) → Occult API पर HTTP अनुरोध → राशि के हिसाब से फ़िल्टर → Gmail मॉड्यूल से राशिफल के पाठ वाला ईमेल भेजें।

make-scenario
{
  "1": {
    "module": "schedule",
    "filter": { "schedule": "every day at 07:00" }
  },
  "2": {
    "module": "http",
    "filter": {
      "url": "https://api.occultapi.com/api/astro/rashifal/daily/",
      "method": "POST",
      "headers": {
        "X-API-Key": "{{5.access_token}}",
        "Content-Type": "application/json"
      },
      "body": {
        "rashi": "aries"
      }
    }
  },
  "3": {
    "module": "gmail",
    "filter": {
      "to": "user@example.com",
      "subject": "Daily Horoscope",
      "text": "{{2.body.data.get_daily_rashifal.general_prediction}}"
    }
  }
}

उत्तर पढ़ना

अगले मॉड्यूल में JSON उत्तर का data.get_daily_rashifal.general_prediction फ़ील्ड इस्तेमाल करें।

उत्तर
{
  "data": {
    "get_daily_rashifal": {
      "general_prediction": "Today is a great day for Aries...",
      "aspects": {
        "love": "Romance is in the air...",
        "career": "New opportunities await...",
        "health": "Stay active and hydrated..."
      },
      "lucky": {
        "color": "Red",
        "number": 7
      }
    }
  }
}