API pentru (CA)New Dawn Of Rust 2x Gather Rate and Resources| PvE | Monthl
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 56,
"fps_avg": 56,
"entities_count": 170838,
"world_seed": 238909786,
"world_size": 5500,
"steam_id": 90286585532169220,
"domain": null,
"id": 11502208,
"ip": "51.222.10.172",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Montreal",
"description": "\nNewbie Friendly, No BP WIPES, No PvP Except For In Raidable Bases. Players who haven't been online for over 10 days will have there base marked as abandoned and free for other players to loot.\r\nBE AWARE NPC don't just stand there they can Detect your footsteps and navigate the map to engage in combat",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780560266,
"last_online": 1780563629,
"icon": null,
"name": "(CA)New Dawn Of Rust 2x Gather Rate and Resources| PvE | Monthl",
"connect": "51.222.10.172:28015",
"request": "51.222.10.172:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207194,
"last_update": 1780563629,
"banned": false,
"wipe": 1780531886,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4908,
"language": "en",
"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/11502208");
$data = json_decode($json, true);
var_dump($data);