Sven Co-op
API для Grid's Sven Co-op Server | SCXPM+ and FastDL
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9561070json
{
"response": {
"steam_id": "90284557819727899",
"domain": null,
"id": 9561070,
"ip": "195.60.167.247",
"port": 27038,
"query": 27038,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 225840,
"owner": null,
"boosts": 1,
"last_offline": 1775195532,
"score": 0,
"last_online": 1776451868,
"icon": null,
"name": "Grid's Sven Co-op Server | SCXPM+ and FastDL",
"connect": "195.60.167.247:27038",
"request": "195.60.167.247:27038",
"map": "new_frontier_1",
"gamemode": "Sven Co-op 5.26",
"version": "5.0.1.8",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1750586267,
"last_update": 1776451868,
"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": 112,
"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/9561070");
$data = json_decode($json, true);
var_dump($data);