Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/mahjong-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/mahjong-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mahjong-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mahjong-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/mahjong-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "notes": "Exact riichi scoring: base = fu × 2^(2+han), ron base×4 (dealer ×6) round up to 100, tsumo split base×2/base×1. Limits mangan→yakuman. Japanese rules; for other variants (MCR, HK) the tables differ.",
        "service": "mahjong-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/honba": "Honba-counter and riichi-stick bonuses on top of a won hand.",
            "GET /v1/limit": "Limit-hand classification (mangan … yakuman) from han and fu.",
            "GET /v1/score": "Points a winning hand pays from han, fu, dealer status and win type."
        },
        "description": "Riichi (Japanese) mahjong scoring: points from han and fu, limit-hand classification, and honba/riichi-stick bonuses."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:46.577Z",
        "request_id": "5a099961-8266-4597-9beb-93335fce5827"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}