# Login member (Lobby)

สร้างลิ้งก์ lobby สำรับเข้าสู่หน้าต่าง Lobby ของค่ายเกมส์ต่าง ๆ โดยอ้างอิงจากค่ายเกมส์ไอดี game_id

# Request

Field Value
URL {RYGAPI}/games/lobby
Method POST

# Query parameters

Key Type Description Required Value
vendor_id string ไอดีค่ายเกมส์ (อ้างอิงจาก Get game avaliable หาคำว่า game_id) Yes pgsoft

# Body parameters

Key Type Description Required Value
agent_code string ไอดี Agent (โปรดเพิ่ม Agent ก่อนสร้างลิ้งก์เกมส์) Yes agent001
player_id string ไอดีผู้เล่น Yes 1
player_name string ชื่อผู้เล่น Yes rygdemo
ip string ไอพีผู้เล่น Yes 127.0.0.1
mobile boolean ผู้เล่นเข้าผ่านมือถือหรือไม่ Yes false
language string ภาษาในเกมส์ Yes th

# Example

https://{RYGAPI}/games/lobby?vendor_id=pgsoft

# Response

Field Value
HTTP Code 200
Body type application/json

# JSON data

Key Type Description Required Value
url string ลิ้งก์เข้าสู่หน้าต่างเกมส์ Yes https://<GAMEURL>/index.html

# Full response

{
  "code": 0,
  "message": "success",
  "data": {
    "url": "https://example.com/index.html"
  }
}