API pentru Absynth Rust Primitive RP|PVE|PVP
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"modded": true,
"fps": 240,
"fps_avg": 236,
"entities_count": 52849,
"world_seed": 1337,
"world_size": 3000,
"steam_id": "90286401187638296",
"domain": null,
"id": 10922629,
"ip": "172.240.11.211",
"port": 25606,
"query": 25608,
"color": 0,
"city": "Ashburn",
"description": "\nExperience medieval Rust with RP|PVE|PVP!\r\n\r\nMonthly wipe with custom maps, monuments, and NPCs\r\nNO KOS OR RAIDING except specified PVP monument locations\r\n48-hour purge at 2pm EST Tuesday before force wipe\r\nNo Tech Tree - Find most items and research them by exploring monuments or buy from server or player shops\r\nTP, Increased Stack Sizes, Sign Artist, Welcome Starter Kit\r\nFree Medieval Skins, Stackable Boxes, Skip Night Vote, Shop\r\nClans, Land Claim, Roaming NPCs, Quests, Fast Recycle, Sort\r\nVisit us on our website at https://absynthrust.com or on discord at https://discord.gg/absynthrust for real-time updates and information about our other servers",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779999821,
"last_online": 1780162226,
"icon": null,
"name": "Absynth Rust Primitive RP|PVE|PVP",
"connect": "172.240.11.211:25606",
"request": "172.240.11.211:25608",
"map": "Absynth Rust Custom Map",
"gamemode": "Primitive",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768476985,
"last_update": 1780162226,
"banned": false,
"wipe": 1778433043,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3035,
"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/10922629");
$data = json_decode($json, true);
var_dump($data);