# Login member (Game URL)

สร้าง Link เข้าเกมส์โดยตรง โดยอ้างอิงจากค่ายเกมส์ไอดี game_id

# Request

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

# Query parameters

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

# 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/launch?vendor_id=pgsoft&game_id=1

# 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"
  }
}