/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/goldenratio-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/goldenratio-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/goldenratio-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/goldenratio-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"phi": 1.61803398875,
"notes": "φ = (1+√5)/2 ≈ 1.618. Lengths are unit-agnostic. The scale takes a numeric ratio or a named one (major-third, perfect-fourth, golden…).",
"ratios": [
"minor-second",
"major-second",
"minor-third",
"major-third",
"perfect-fourth",
"augmented-fourth",
"perfect-fifth",
"golden",
"phi"
],
"service": "goldenratio-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/scale": "Modular (typographic) scale from a base, ratio and step range.",
"GET /v1/divide": "Split a length by the golden section, or extend a segment.",
"GET /v1/rectangle": "Golden rectangle's other side and area."
},
"description": "Design proportions: golden section, golden rectangle, and the modular/typographic scale."
},
"meta": {
"timestamp": "2026-06-05T19:50:19.055Z",
"request_id": "30138ad4-bcc3-4145-8f10-be00c3159d6e"
},
"status": "ok",
"message": "Meta",
"success": true
}