AstroWay/api v2.254.12 · tr
tüm sistemler normal
// sdk · Web Bileşenleri

AstroWay web bileşenleri (alpha)

Natal çark, ay evresi, uyumluluk, tarot ve burç yorumları, herhangi bir site için düz HTML öğeleri olarak: bir CDN'den tek bir <script> etiketi ya da npm install. Grafikler API ile aynı kodla çizilir, böylece sayfandaki çark /v1/render'in döndürdüğüyle eşleşir. Alpha: öznitelik adları 1.0'dan önce hâlâ değişebilir.

// 01 / install

Kur

npm install @astroway/ui@alpha
pnpm pnpm add @astroway/ui
yarn yarn add @astroway/ui
CDN <script type="module" src="https://cdn.jsdelivr.net/npm/@astroway/ui/dist/cdn/index.js"></script>

import: import '@astroway/ui';

// 02 / highlights

Öne çıkanlar

// 03 / first request

İlk istek

<script type="module" src="https://cdn.jsdelivr.net/npm/@astroway/ui/dist/cdn/index.js"></script>

<!-- keyless: the moon phase in the visitor's language -->
<aw-moon-phase lang="uk"></aw-moon-phase>

<!-- a publishable pk_ key bound to your domain, credit cap and endpoint list -->
<aw-natal-wheel api-key="pk_live_..." date="1990-07-14" time="14:30"
  latitude="50.45" longitude="30.52" timezone-offset="3"></aw-natal-wheel>

Web Bileşenleri ile başla

Ayda 10.000 kredi ücretsiz. Open-source SDK, OpenAPI 3.1’den oluşturulur, her zaman arka uçla senkron.

%99,9 SLA · ücretli planlar · 30g durum →