API pentru CorePixel Rust | US Monthly Vanilla
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 76,
"fps_avg": 75,
"entities_count": 196474,
"world_seed": 355333697,
"world_size": 6000,
"steam_id": "90286944498381836",
"domain": null,
"id": 11771182,
"ip": "90.71.75.67",
"port": 30123,
"query": 30124,
"project_id": null,
"color": 0,
"city": "Barcelona",
"description": "\nMap - Monthly @ Force\r\nBPs - Monthly @ Force\r\n\r\nDiscord: discord.gg/corepixel\r\n\r\nRules:\r\n\r\n- No hacking / scripting\r\n- No intentional bug abuse\r\n- No EAC / FP banned alts\r\n- No ban evading\r\n- No racism\r\n\r\nGood performance\r\nActive non playing admins\r\nSeeds are carefully picked\r\n\r\nDiscord: discord.gg/corepixel",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781312035,
"last_online": 1781354590,
"icon": null,
"name": "CorePixel Rust | US Monthly Vanilla",
"connect": "90.71.75.67:30123",
"request": "90.71.75.67:30124",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 275,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780996879,
"last_update": 1781354590,
"banned": false,
"wipe": 1780972296,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6052,
"language": "es",
"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/11771182");
$data = json_decode($json, true);
var_dump($data);