Sven Co-op
API для Reniah's Restauranting Quest
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10431343json
{
"response": {
"steam_id": "90284073630217246",
"domain": null,
"id": 10431343,
"ip": "64.31.28.203",
"port": 53500,
"query": 53500,
"color": 0,
"city": "New York",
"description": null,
"game": 225840,
"owner": null,
"boosts": 1,
"last_offline": 1775617405,
"score": 0,
"last_online": 1775859051,
"icon": null,
"name": "Reniah's Restauranting Quest",
"connect": "64.31.28.203:53500",
"request": "64.31.28.203:53500",
"map": "op4two1",
"gamemode": "SvenCoop",
"version": "1.1.2.2",
"numplayers": 0,
"maxplayers": 6,
"bots": 2,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1759829136,
"last_update": 1775859051,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 130,
"language": "en",
"parked": false,
"app": {
"id": 65,
"steam_id": 225840,
"name": "Sven Co-op",
"url": "sven-co-op"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10431343");
$data = json_decode($json, true);
var_dump($data);