API dla No Rules - 10X Kits | Drugs | Shop | Skills | Loot+ | Girls
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 90,
"fps_avg": 89,
"entities_count": 105023,
"world_seed": 1337,
"world_size": 4250,
"steam_id": "90286603506967566",
"domain": null,
"id": 7286997,
"ip": "216.219.93.72",
"port": 22014,
"query": 22015,
"color": 0,
"city": "Englewood Cliffs",
"description": "\nNo Rules Rust\r\n\r\n- 10x Gather - Big Scrap - Sweet Kits - Fast Progression\r\n- No Junk Loot - MyMini - Events - Shorter Nights\r\n- Sick Shit -7000+ Skins - Many Other Kick Ass QOL Mods\r\n\r\nAdmins do not get involved in Gameplay!!!\r\n \r\nNote: No Rules still means No Cheats!!!,\r\nCheaters will be treated like SHIT!!! Report via F7.\r\nYour actions can still result in a Ban, don't be a Douche!!!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779802411,
"last_online": 1780600838,
"icon": null,
"name": "No Rules - 10X Kits | Drugs | Shop | Skills | Loot+ | Girls",
"connect": "216.219.93.72:22014",
"request": "216.219.93.72:22015",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1736703991,
"last_update": 1780600838,
"banned": false,
"wipe": 1780594756,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3080,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/7286997");
$data = json_decode($json, true);
var_dump($data);