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.4.tar.gz (119.6 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.4-py3-none-any.whl (302.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asterwise-0.1.4.tar.gz
  • Upload date:
  • Size: 119.6 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.4.tar.gz
Algorithm Hash digest
SHA256 e91a1b66251b3af181739cc3f4390ffab8b4dadd12151f1c09689aaa4ff69da7
MD5 b054f3202d5cb7e0717cff4b5cb90bfc
BLAKE2b-256 26720ce4cb548ae92aa314a3d6cbb1c0d84aa8adad37883c51c274f5184b61dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asterwise-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 302.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e01db6af4a58bbad679ac34b44a6453f232071ea5fcf5627ef07f2e7b957fbf
MD5 fe3f88d4d34a4373c68ed69df90472ed
BLAKE2b-256 b037a8e8ee9f8ac223989b83d53b2039c83635ac7ffb12056b497bafe90c855d

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