Rust
API pentru Rusty Kingdom | Solo | Small Map | Employed OG's
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11160185json
{
"response": {
"fps": 220,
"fps_avg": 228,
"entities_count": 29105,
"world_seed": 1284132252,
"world_size": 2500,
"steam_id": 90284074922771470,
"domain": null,
"id": 11160185,
"ip": "135.148.15.73",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Hudson",
"description": "A small map server catered around og rust players who are now employed and can't grind like they used to on a regular.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1772228153,
"score": 0,
"last_online": 1776210615,
"icon": null,
"name": "Rusty Kingdom | Solo | Small Map | Employed OG's",
"connect": "135.148.15.73:28015",
"request": "135.148.15.73:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228153,
"last_update": 1776210615,
"banned": false,
"wipe": 1775350250,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4940,
"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/11160185");
$data = json_decode($json, true);
var_dump($data);