Sari la conținut

Getting Started with The Numerology API – Quick Start Tutorial

Bun venit la The Numerologie API! Acest ghid cuprinzător vă va ajuta să treceți de la zero la primul calcul de numerologie de succes în doar câteva minute. Indiferent dacă construiți o aplicație de numerologie, site-ul de astrologie, platformă de horoscop zilnic sau instrument de sănătate spirituală, API-ul nostru cu peste 100 de puncte finale vă ajută să adăugați informații numerologice de calitate profesională.

De ce să alegeți API-ul de numerologie?

  • 100+ Endpoints: Calculate Life Path Number, Destiny/Expression Number, Heart's Desire (Soul Urge), Personality Number, Attitude Number, Karmic Debt, Karmic Lessons, Personal Year, Essence Cycles, Minor Expressions, Bridge Numbers, and more.
  • Pythagorean Numerology System: Accurate, time-tested calculations with detailed meanings and master number support (11, 22, 33).
  • RapidAPI Hosted: Simple subscription, reliable uptime, and scalable pricing plans (Free tier available).
  • Developer-Friendly: Supports both GET and POST methods, JSON responses, and easy integration in any language.

Pas cu pas: Înregistrare și obținere cheie API

  1. Visit the official The Numerology API on RapidAPI
  2. Click "Subscribe to Test" and choose a plan:
  3. Basic (Free) – 100 requests/month – perfect for testing
  4. Pro – 130,000 requests/month
  5. Ultra (Recommended) – 550,000 requests/month
  6. Mega – 2,000,000 requests/month
  7. After subscribing, copy your X-RapidAPI-Key from the "Endpoints" tab.

Prima cerere: Calcularea numărului căii de viață

Numărul Căii Vieții este unul dintre cele mai importante numere din numerologie. Iată cum se calculează folosind punctul final GET.

Exemplu Python

import requests

url = "https://the-numerology-api.p.rapidapi.com/life_path"

# Example: Birth date May 15, 1990
querystring = {
    "birth_year": "1990",
    "birth_month": "5",
    "birth_day": "15"
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY_HERE",
    "X-RapidAPI-Host": "the-numerology-api.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=querystring)

if response.status_code == 200:
    data = response.json()
    print(f"Life Path Number: {data['life_path_number']}")
    print(f"Summary: {data['summary']}")
    print(f"Detailed Meaning: {data['detailed_meaning']}")
else:
    print(f"Error: {response.status_code} - {response.text}")

Resultare așteptată (pentru 17-08-1997):

{
  "life_path_number": 11,
  "summary": "The life path number 11 is a master number that represents intuition, spirituality, and enlightenment...",
  "detailed_meaning": "Master Number 11 represents intuition, inspiration, and spiritual insight..."
}

Exemplu JavaScript (Fetch)

const url = "https://the-numerology-api.p.rapidapi.com/life_path";

const options = {
  method: 'GET',
  headers: {
    'X-RapidAPI-Key': 'YOUR_API_KEY_HERE',
    'X-RapidAPI-Host': 'the-numerology-api.p.rapidapi.com'
  },
  // Query parameters
  // Add as URL search params
};

fetch(`${url}?birth_year=1990&birth_month=5&birth_day=15`, options)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Alternativă cerere POST (corp JSON)

Multe puncte finale acceptă atât GET, cât și POST. Iată versiunea POST pentru Life Path:

payload = {
    "birth_year": 1990,
    "birth_month": 5,
    "birth_day": 15
}

response = requests.post(url, json=payload, headers=headers)

Erori comune și depanare

  • 401 Unauthorized: Check your API key and subscription status.
  • 400 Bad Request: Verify required parameters are present and correctly formatted.
  • 429 Too Many Requests: You've exceeded your plan limit – upgrade for more requests.

Ce urmează?

Acum că ați efectuat primul apel, explorați aceste puncte finale populare:

Răsfoiți întregul API Reference pentru a descoperi toate cele peste 100 de puncte finale.

Ești gata să construiești ceva uimitor? Începe să integrezi calculele numerologice, funcțiile de astrologie și horoscoape personalizate astăzi!


Tag-uri: #numerologyapi #lifepathnumber #destinynumber #numerologytutorial #pythonapi #rapidapi #spiritualapp #astrologyapi #horoscopeapi #gettingstarted #pythagoreannumerology #masternumbers