Angels Fall First
API для OC All Maps #2
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5094938json
{
"response": {
"steam_id": "90283006616973314",
"domain": null,
"id": 5094938,
"ip": "139.99.144.36",
"port": 7779,
"query": 27016,
"color": 0,
"city": "Sydney",
"description": null,
"game": 367270,
"owner": null,
"boosts": 1,
"last_offline": 1776192719,
"score": 0,
"last_online": 1776274856,
"icon": null,
"name": "OC All Maps #2",
"connect": "139.99.144.36:7779",
"request": "139.99.144.36:27016",
"map": "aff-ixion-territories",
"gamemode": "AFFGameInfo_Territories",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1720705797,
"last_update": 1776274856,
"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": 4,
"language": "en",
"parked": false,
"app": {
"id": 160,
"steam_id": 367270,
"name": "Angels Fall First",
"url": "angels-fall-first"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5094938");
$data = json_decode($json, true);
var_dump($data);