API für MAJOR | ReCrUtA | PvP | 2x - Br
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 141,
"fps_avg": 142,
"entities_count": 102522,
"world_seed": 2121708428,
"world_size": 4300,
"steam_id": "90286726746484747",
"domain": null,
"id": 11759770,
"ip": "157.85.89.78",
"port": 25541,
"query": 25542,
"project_id": null,
"color": 0,
"city": "São Paulo",
"description": "\nSobreviva o máximo que puder\r\n1 - Vale tudo\r\n2 - Construir base somente no aberto\r\n3 - Raid apenas online\r\n4 - Independentemente do que acontecer (Amizade não muda)\r\n5 - Permitido alianças temporárias\r\n6 - Permitido troca de itens",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780931734,
"last_online": 1780966214,
"icon": null,
"name": "MAJOR | ReCrUtA | PvP | 2x - Br",
"connect": "157.85.89.78:25541",
"request": "157.85.89.78:25542",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 2,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 100,
"add_date": 1780931734,
"last_update": 1780966214,
"banned": false,
"wipe": 1780862195,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 175,
"language": "pt",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11759770");
$data = json_decode($json, true);
var_dump($data);