JSON FEED

คู่มือหน้าแรกสำหรับ AI และระบบภายนอก

เอกสารอธิบาย index_data.php สำหรับ AI และระบบภายนอกที่ต้องการภาพรวมของเว็บไซต์ ส่วนหลัก และรายการตลาดหวยแบบ machine-readable

https://www.gjl365n.xyz/index_data.php

ใช้เมื่อไร

  • ใช้เมื่อต้องการภาพรวมของเว็บไซต์ ส่วนหลัก และตลาดหวยทั้งหมดจากหน้าแรกแบบ machine-readable
  • เหมาะกับ agent ที่ต้องการรู้จุดเริ่มต้นของเว็บนี้ก่อนจะเลือก feed เฉพาะทางต่อ
  • ถ้าต้องการผลล่าสุดโดยตรง ให้ใช้ result_data.php แต่ถ้าต้องการภาพรวมของทั้งเว็บ ให้ใช้ index_data.php

field หลัก

Field ความหมาย
primary_sections จุดเข้าใช้งานหลักของเว็บ พร้อม page_url, feed_url และ guide_url
groups กลุ่มหวยพร้อมรายการตลาดทั้งหมดที่แสดงบนหน้าแรก
supported_languages ภาษาที่เว็บรองรับสำหรับ public page

ตัวอย่าง JSON

{
    "site": "GJL365N",
    "page_type": "homepage_overview",
    "canonical_url": "https://www.gjl365n.xyz/",
    "generated_at": "2026-04-14T12:00:00Z",
    "supported_languages": [
        "th",
        "en",
        "zh",
        "lo",
        "vi"
    ],
    "group_count": 2,
    "market_count": 3,
    "primary_sections": [
        {
            "section_key": "latest_results",
            "page_url": "https://www.gjl365n.xyz/result.php",
            "feed_url": "https://www.gjl365n.xyz/result_data.php",
            "guide_url": "https://www.gjl365n.xyz/result_data_guide.php"
        },
        {
            "section_key": "historical_index",
            "page_url": "https://www.gjl365n.xyz/backward.php",
            "feed_url": "https://www.gjl365n.xyz/backward_data.php",
            "guide_url": "https://www.gjl365n.xyz/backward_data_guide.php"
        }
    ],
    "groups": [
        {
            "group_name_th": "หวยรัฐบาล",
            "group_display_name": "Government Lottery",
            "market_count": 2,
            "markets": [
                {
                    "market_slug": "thai",
                    "market_name_th": "รัฐบาลไทย",
                    "market_display_name": "Thai Government Lottery",
                    "historical_url": "https://www.gjl365n.xyz/historical.php?lotto=thai",
                    "historical_feed_url": "https://www.gjl365n.xyz/historical_data.php?lotto=thai",
                    "lucky_url": "https://www.gjl365n.xyz/lucky.php?lotto=thai",
                    "lucky_feed_url": "https://www.gjl365n.xyz/lucky_data.php?lotto=thai"
                }
            ]
        }
    ]
}