Инструменты пользователя

Инструменты сайта


v6.init

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
v6.init [2025/10/27 12:00]
serg
v6.init [2025/10/27 12:01] (текущий)
serg
Строка 96: Строка 96:
 } }
 Rules (adtype - 3) Rules (adtype - 3)
-type Game struct { +</​code>​ 
- Title    string `json:"​T"​` + **GameList data** 
- Icon     ​string `json:"​I"​` +<​code>​
- Rating ​  ​int ​   `json:"​R"​` +
- Redirect string `json:"​U"​` +
-} +
 type TGameList []TGame type TGameList []TGame
 type TGame struct { type TGame struct {
Строка 109: Строка 105:
  AppID []int                  `json:"​appid"​`  AppID []int                  `json:"​appid"​`
 } }
 +</​code>​
 + ​**Admob data**
 +<​code>​
 type TAdmobShortDescription struct { type TAdmobShortDescription struct {
  AdblockID ​ string `json:"​ID"​`  AdblockID ​ string `json:"​ID"​`
Строка 118: Строка 117:
  Blocks []TAdmobShortDescription `json:"​B"​`  Blocks []TAdmobShortDescription `json:"​B"​`
 } }
 +
 +Example response
 +"​Ab":​ [
 +        {
 +            "​A":​ 0,
 +            "​B":​ [
 +                {
 +                    "​ID":​ "​4041670415",​
 +                    "​N":​ "​banner_1",​
 +                    "​PL":​ 2
 +                },
 +                {
 +                    "​ID":​ "​5110552969",​
 +                    "​N":​ "​banner_2",​
 +                    "​PL":​ 0
 +                },
 +                {
 +                    "​ID":​ "​6878574989",​
 +                    "​N":​ "​banner_0",​
 +                    "​PL":​ 3
 +                }
 +            ]
 +        },
 +        {
 +            "​A":​ 1,
 +            "​B":​ [
 +                {
 +                    "​ID":​ "​4308607189",​
 +                    "​N":​ "​inter_2",​
 +                    "​PL":​ 0
 +                },
 +                {
 +                    "​ID":​ "​6934770522",​
 +                    "​N":​ "​inter_0",​
 +                    "​PL":​ 3
 +                },
 +                {
 +                    "​ID":​ "​8008179043",​
 +                    "​N":​ "​inter_1",​
 +                    "​PL":​ 2
 +                }
 +            ]
 +        }
 +    ]
  
 </​code>​ </​code>​
v6.init.txt · Последние изменения: 2025/10/27 12:01 — serg