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

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.3.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.3-py3-none-any.whl (315.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asterwise-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 39accf0cf288f5987251c4b8cb39927393a5e3edbcd764573ba98196776902b8
MD5 0df07a53094292d71dd20798b8788161
BLAKE2b-256 8d2988b68e08ced63b068e3b26519c28d58c9641cb486de60e26fdf530b60ccd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asterwise-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 315.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 93f5bd10e71835824782cce6494de4d9b0d9a98e6c048097b68b4037413fafa7
MD5 ebb87d6445fd180203528006921c772b
BLAKE2b-256 7c13970a05a589a46c30c035e8884027b82e32ddbc9d0caeadf7f1fe56b08dd8

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