Skip to main content

Asterwise API

Project description

asterwise

Official Python SDK for the Asterwise Vedic Astrology API.

pip install asterwise

Authentication

Get a free API key at asterwise.com. Pass it when configuring the client:

import asterwise
from asterwise.api.astrology_api import AstrologyApi

configuration = asterwise.Configuration(
    host="https://api.asterwise.com",
    access_token="YOUR_API_KEY",
)

with asterwise.ApiClient(configuration) as client:
    api = AstrologyApi(client)
    result = api.natal_chart(
        asterwise.NatalRequest(
            date="1985-11-12",
            time="06:45",
            location="Mumbai, India",
            ayanamsa="lahiri",
        )
    )
    print(result)

Requirements

Python 3.9+

What's included

Astrology — Natal chart, Dasha (5 levels), Yogas, Doshas, Divisional charts (D1–D60), Ashtakavarga, Shadbala, Gochar, Sade Sati, Dasha-Transit correlation, Matchmaking (Ashtakoota, Dashakoot, Porutham, Thirumana Porutham, Papasamyam), Panchanga, Choghadiya, Hora, Rahu Kaal, Muhurta, Varshaphal, Prashna, Remedies, Gemstones, KP System, Lal Kitab, Atmakaraka, Ishta Devata, Nakshatra — 38 endpoints

Numerology — Profile, Compatibility, Life Path, Personal Year, Lucky Numbers, Number Meaning, Name Correction, Business Name, Chaldean, Lo Shu, Mobile Number, Vehicle Number — 14 endpoints

Horoscope — Daily, Weekly, Monthly, Yearly × 12 Moon signs — 4 endpoints

Utilities — Geocode (city → coordinates), Timezone lookup — 2 endpoints

PDF Reports — Kundli, Dasha, Matchmaking, Varshaphal, Download — 5 endpoints

Documentation

Full API reference: docs.asterwise.com

Support

support@asterwise.com

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

asterwise-0.1.2.tar.gz (124.3 kB view details)

Uploaded Source

Built Distribution

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

asterwise-0.1.2-py3-none-any.whl (315.7 kB view details)

Uploaded Python 3

File details

Details for the file asterwise-0.1.2.tar.gz.

File metadata

  • Download URL: asterwise-0.1.2.tar.gz
  • Upload date:
  • Size: 124.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for asterwise-0.1.2.tar.gz
Algorithm Hash digest
SHA256 485967f1e0cb6cfa62b8b9845aad797267ca625b9f38ece044f2ef794b0e1289
MD5 622b47428a942cf3ebb679de80a39f48
BLAKE2b-256 11d7df19847674530ff398bc7e6b5af6c02f6dd905e9408b2e9db24ba9a12309

See more details on using hashes here.

File details

Details for the file asterwise-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: asterwise-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 315.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for asterwise-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e9801893b0e5d618d52212fbea17fd351d2b2f05674deb114b8b73bbbb7b4e0
MD5 e59951a1be2eb104b3f3b4483faf5e67
BLAKE2b-256 eed87daf39fdc07712a48b0eb30ddda40b750923dd7d983c33c3bed84dc30921

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