lifeastroapi 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/dist/pdf/index.cjs +1810 -33
- package/dist/pdf/index.cjs.map +1 -1
- package/dist/pdf/index.d.cts +10 -0
- package/dist/pdf/index.d.ts +10 -0
- package/dist/pdf/index.js +1810 -33
- package/dist/pdf/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# lifeastroapi
|
|
2
2
|
|
|
3
|
-
Official **Node.js / TypeScript SDK** for [LifeAstroAPI](https://lifeastroapi.com) — a
|
|
4
|
-
|
|
5
|
-
pay-per-call billing.
|
|
3
|
+
Official **Node.js / TypeScript SDK** for [LifeAstroAPI](https://lifeastroapi.com) — a REST
|
|
4
|
+
[astrology API](https://lifeastroapi.com/apis/) for Vedic astrology, panchang, Hindu festivals,
|
|
5
|
+
kundli, muhurat and Western charts, with location-aware calculations and pay-per-call billing.
|
|
6
|
+
Free tier: 1,500 credits a month, no card — [get a key](https://lifeastroapi.com/signup/).
|
|
6
7
|
|
|
7
8
|
- ✅ **All 311 endpoints**, fully typed, across 23 namespaces — panchang, charts, dashas,
|
|
8
9
|
matchmaking, transits, horoscopes, numerology, tarot, muhurta, reports, narratives,
|
|
@@ -57,6 +58,10 @@ const match = await client.milan.ashtakootaTotal({
|
|
|
57
58
|
|
|
58
59
|
> CommonJS works too: `const { LifeAstro } = require("lifeastroapi");`
|
|
59
60
|
|
|
61
|
+
## Examples
|
|
62
|
+
|
|
63
|
+
- [**Hindu calendar for any city**](examples/hindu-calendar/) — today's panchang, the month's festivals with the window that decided each date, the next Ekadashis with parana, and an HTML month grid. `npm start -- --city Toronto`.
|
|
64
|
+
|
|
60
65
|
## Authentication
|
|
61
66
|
|
|
62
67
|
Your API key (`dv_live_…`) authenticates every request and is sent as a
|