astroapi 1.0.1
astroapi: ^1.0.1 copied to clipboard
A comprehensive Dart SDK for the Astrology API v3 — horoscopes, natal charts, planetary positions, and more
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
1.0.1 - 2026-02-20 #
Changed #
- Expanded
CLAUDE.mdwith a detailed layer-by-layer architecture reference and SDK extension guide for AI assistants. - Added release process documentation (version bump steps, git tag workflow, semver rules) to
CLAUDE.mdandREADME.md.
1.0.0 - 2026-02-20 #
Added #
AstrologyClientwith 16 category sub-clients:data,charts,horoscope,analysis,glossary,astrocartography,chinese,eclipses,lunar,numerology,tarot,traditional,fixedStars,insights,svg, andenhanced.InsightsClientwith 5 typed sub-clients:relationship,pet,wellness,financial, andbusiness.AstrologyClientConfigwith configurable API key, base URL, timeout, debug mode, and custom logger.RetryConfigfor automatic retry on transient errors with configurable attempt count, delay, and retry status codes.RequestOptionsfor per-request headers, query parameters, timeout override, and DioCancelTokensupport.AstrologyExceptionwith HTTP status code, error code, and detail fields.HttpHelperabstract interface for mock-based unit testing.- Dio-based
DioHttpClientwith Bearer token injection, automatic response unwrapping, and retry logic. - SVG chart support via
SvgClientreturning rawString. GenericResponsefor complex or schema-variable API responses.- Request and response model classes for all 16 API categories.
- Enum types:
Language,HouseSystem,ZodiacType,Tradition,PerspectiveType,DetailLevel.