Sven Co-op
API для hypercarry.net Sven Coop [SC]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6812940json
{
"response": {
"steam_id": "90273933581877273",
"domain": null,
"id": 6812940,
"ip": "213.239.210.121",
"port": 26910,
"query": 26910,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 225840,
"owner": null,
"boosts": 1,
"last_offline": 1768642912,
"score": 0,
"last_online": 1776451902,
"icon": null,
"name": "hypercarry.net Sven Coop [SC]",
"connect": "213.239.210.121:26910",
"request": "213.239.210.121:26910",
"map": "stadium4",
"gamemode": "Sven Co-op 5.26",
"version": "5.0.1.8",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1733476806,
"last_update": 1776451902,
"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": 91,
"language": "de",
"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/6812940");
$data = json_decode($json, true);
var_dump($data);