కంటెంట్‌కు వెళ్లండి
API key పొందండి

మంత్రాల API

సంస్కృత మంత్రం, శ్లోకం API

ఒకే REST API తో మీ యాప్ లేదా వెబ్‌సైట్‌కు మంత్రాలను జోడించండి. రికార్డులు మూల సంస్కృతాన్ని, అందుబాటులో ఉన్న చోట లిప్యంతరీకరణ, మూల ప్రస్తావనలతో కలిపి అందిస్తాయి.

నమూనా మంత్రాలను ప్రయత్నించడానికి ఉచిత శాండ్‌బాక్స్ key సృష్టించండి. కొన్ని రికార్డులలో ఫీల్డ్‌లు ఖాళీగా ఉండవచ్చు, కాబట్టి మీ యాప్‌కు అవసరమైన శీర్షికలు, భాషలు, మూల వివరాలను తనిఖీ చేయండి.

GET /v1/mantras/{id}
curl "$MANTRILO_API_URL/v1/mantras/annapurna-aham-vaishvanaro-bhuthva" \
  -H "Authorization: Bearer $MANTRILO_API_KEY"
ఒక మంత్రం రెస్పాన్స్200 OK
{
  "data": {
    "id": "annapurna-aham-vaishvanaro-bhuthva",
    "title": "Aham Vaishvanaro Bhuthva",
    "deity": {
      "id": "annapurna",
      "name": "Lord Annapurna"
    },
    "category": "Annapurna Stotras",
    "source": "Sanatana Shastras",
    "description": "Aham Vaishvanaro Bhutva means \"I, having become the universal fire,\" and in Bhagavad Gita 15.14 Krishna says he lives in every body and digests its food. United with the prana and apana breaths, this inner fire cooks the four kinds of food: chewed, swallowed, licked and sucked. Families often say it before a meal to treat eating as an offering.",
    "verseCount": 1,
    "audio": {
      "href": "/v1/mantras/annapurna-aham-vaishvanaro-bhuthva/audio"
    },
    "verses": [
      {
        "number": 1,
        "title": "Aham Vaishvanaro Bhuthva – Verse 1",
        "sanskrit": "अहं वैश्वानरो भूत्वा प्राणिनां देहमाश्रितः\nप्राणापान समायुक्तः पचाम्यन्नं चतुर्विधम्",
        "transliteration": "ahaṃ vaiśvānaro bhūtvā prāṇināṃ dehamāśritaḥ\nprāṇāpāna samāyuktaḥ pacāmyannaṃ caturvidham",
        "translation": null,
        "wordMeanings": []
      }
    ]
  },
  "requestId": "request-id"
}

మీరు ఏమి నిర్మించవచ్చు

శ్లోకం చుట్టూ పఠన అనుభవాన్ని నిర్మించండి

డెవలపర్ మూల పాఠాన్ని మొదట చూపించి, దాని పక్కన లిప్యంతరీకరణను అందించి, పంపిణీ చేయడానికి తనకు అనుమతి ఉన్న అనువాదాన్ని జోడించవచ్చు. శ్లోకాన్ని దాని వివరణ నుంచి పాఠకులు వేరు చేయగలిగేలా మూల సందర్భాన్ని పాఠానికి దగ్గరగా ఉంచండి.

ఐచ్ఛిక ఫీల్డ్‌లను ఐచ్ఛికంగానే చూడండి

మంత్ర శ్లోకాలు అందుబాటులో ఉన్న చోట సంస్కృతం, లిప్యంతరీకరణను ఇస్తాయి. translation null గా, wordMeanings ఖాళీగా ఉంటాయి. లేని ఫీల్డ్‌లను మీ యాప్‌లో దాచండి.

పాఠాన్ని, రికార్డింగ్‌లను అనుసంధానంగా ఉంచండి

రికార్డింగ్ ఉన్న మంత్రం రెస్పాన్స్‌లో ఆడియో లింక్ ఉంటుంది. signed రికార్డింగ్ లింక్‌ను మీ సర్వర్ ద్వారా రిక్వెస్ట్ చేసి, ఆ లింక్ ఉన్నప్పుడు మాత్రమే వినే కంట్రోల్‌ను చూపించండి.

Licensed for your product

Paid plans include a license to use the verses and recordings in your app. Keep source references with the text, and see the content license for what it covers.

ఇంటిగ్రేషన్ ఎలా సాగుతుంది

  1. ఎంచుకున్న పాఠ్య రికార్డును మీ సర్వర్ ద్వారా పొందండి.
  2. మూల పాఠాన్ని, అందుబాటులో ఉన్న లిప్యంతరీకరణను రెండర్ చేయండి.
  3. మూల ప్రస్తావన, అనుసంధానిత రికార్డింగ్ ఇచ్చినప్పుడు మాత్రమే వాటిని చూపించండి.

శాండ్‌బాక్స్ key తో ప్రయత్నించండి.

ప్రతి ఖాతా నమూనా కంటెంట్‌తో మొదలవుతుంది, కాబట్టి సబ్‌స్క్రైబ్ చేసే ముందే మీరు నిర్మించవచ్చు.