API pentru Polski server Poland
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 224,
"fps_avg": 224,
"entities_count": 97485,
"world_seed": 11381599,
"world_size": 4300,
"steam_id": "90286609570404383",
"domain": null,
"id": 11510883,
"ip": "162.120.3.87",
"port": 10000,
"query": 10003,
"color": 0,
"city": "Eschborn",
"description": "Zapraszamy na serwer RUST! Miesięczny wipe Aktywny admin 24/7 Zero cheaterów – uczciwa gra Przyjazna i aktywna społeczność Szukasz stabilnego serwera bez toksycznej atmosfery i z dobrą administracją? To miejsce jest dla Ciebie! Dołącz do Discorda: https://discord.gg/G3H9ZS2h Widzimy się na mapie!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780601069,
"last_online": 1780608035,
"icon": null,
"name": "Polski server Poland",
"connect": "162.120.3.87:10000",
"request": "162.120.3.87:10003",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353835,
"last_update": 1780608035,
"banned": false,
"wipe": 1780602457,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4865,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11510883");
$data = json_decode($json, true);
var_dump($data);