Skip to main content

Official Python SDK for Vedika Astrology API - AI-powered astrology with predictions

Project description

vedika-sdk

Official Python SDK for Vedika Astrology API - AI-powered astrology with predictions.

Installation

pip install vedika-sdk

Quick Start

from vedika_sdk import VedikaClient

# Initialize with your API key
client = VedikaClient(api_key="your_api_key")

# Or use free sandbox mode
client = VedikaClient(sandbox=True)

# Ask astrology questions
response = client.ask(
    "What is my moon sign?",
    birth_details={
        "datetime": "1990-05-15T10:30:00+05:30",
        "latitude": 28.6139,
        "longitude": 77.2090
    }
)
print(response)

Predictions (NEW in v1.1.0)

# Daily prediction by rashi (moon sign)
daily = client.predict_daily(rashi="Aries")

# Weekly prediction
weekly = client.predict_weekly(rashi="Taurus")

# Monthly prediction
monthly = client.predict_monthly(rashi="Gemini")

# Quarterly (3-month) prediction
quarterly = client.predict_quarterly(rashi="Leo")

# Yearly prediction
yearly = client.predict_yearly(rashi="Scorpio")

# Or use birth details instead of rashi
prediction = client.predict_daily(birth_details={
    "datetime": "1990-05-15T10:30:00+05:30",
    "latitude": 28.6139,
    "longitude": 77.2090
})

Other Features

# Get Panchang (today or specific date)
panchang = client.get_panchang()
panchang = client.get_panchang("2026-01-15")

# Generate birth chart
chart = client.get_birth_chart(
    datetime="1990-05-15T10:30:00+05:30",
    latitude=28.6139,
    longitude=77.2090
)

# Get Dasha periods
dasha = client.get_dasha(
    datetime="1990-05-15T10:30:00+05:30",
    latitude=28.6139,
    longitude=77.2090
)

# Check Mangal Dosha
dosha = client.get_mangal_dosha(
    datetime="1990-05-15T10:30:00+05:30",
    latitude=28.6139,
    longitude=77.2090
)

# Guna Milan (compatibility matching)
compatibility = client.get_guna_milan(
    male={"datetime": "1990-05-15T10:30:00+05:30", "latitude": 28.6139, "longitude": 77.2090},
    female={"datetime": "1992-08-20T14:00:00+05:30", "latitude": 19.0760, "longitude": 72.8777}
)

Pricing

Endpoint Price
Daily Prediction $0.020
Weekly Prediction $0.028
Monthly Prediction $0.040
Quarterly Prediction $0.056
Yearly Prediction $0.088

Free sandbox available for development!

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vedika_sdk-1.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vedika_sdk-1.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file vedika_sdk-1.1.0.tar.gz.

File metadata

  • Download URL: vedika_sdk-1.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vedika_sdk-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e6aa215ce4dc44d1e6debfee370cde7b3cab248ee1ac7429ee70bb4c4f71c8e3
MD5 9b04fd6f142893aa99f8216c964359f4
BLAKE2b-256 9b948141d8cc391354d41711d7504d5523afb141eddf82812b25df9bba9fd2e5

See more details on using hashes here.

File details

Details for the file vedika_sdk-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: vedika_sdk-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vedika_sdk-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b96578aadc3617ebf5c53503e79e4b1487741430146ac1fbe7fbabb0c2044c22
MD5 d3501538c7705999266bfab52b51614c
BLAKE2b-256 817f0eed03ff40e1f9bac7b353f7e4d07263b617e10bd4be9c788e90be2834d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page