API für РУССКИЙ СВОБОДЫЙ | ДЛЯ НОВИЧКОВ
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 157,
"fps_avg": 152,
"entities_count": 145329,
"world_seed": 1155587066,
"world_size": 5000,
"steam_id": "90285522164525067",
"domain": null,
"id": 11182154,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "\nIVORY RUST \r\nИгровой сервер Rust, где люди могут зарабатывать деньги! \r\nПросто играя и добывая рубли с шансом после каждого\r\n действия, а эти рубли можно вывести на карту.\r\n \r\nРейты x2, ванила, ВАЙП КАЖДУЮ ПЯТНИЦУ/n Лимит в команде 8 человек",
"game": 252490,
"owner": 172971,
"boosts": 1,
"last_offline": 1779256340,
"last_online": 1778360413,
"icon": null,
"name": "РУССКИЙ СВОБОДЫЙ | ДЛЯ НОВИЧКОВ",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772480569,
"last_update": 1779256340,
"banned": false,
"wipe": 1775768057,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13403,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "4empers",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11182154");
$data = json_decode($json, true);
var_dump($data);