API pentru Pure Casual Rust [Bots/Botbases] 3x
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 20,
"fps_avg": 19,
"entities_count": 136113,
"world_seed": 1989307031,
"world_size": 4500,
"steam_id": "90286604258631703",
"domain": null,
"id": 5844162,
"ip": "103.137.14.69",
"port": 49035,
"query": 49036,
"color": 0,
"city": "Мельбурн",
"description": "![Pure Casual Rust [Bots/Botbases] 3x](https://i.imgur.com/upwVvAI.jpg)\nCasual server(Fortnightly wipe) with bots and raidable (BOT) bases, also with (limited) offline raid protection, Random bot loot and random bot base loot. Now with NPC Raiders as well! Discord is https://discord.gg/DNR2NSnwSW",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780603234,
"icon": null,
"name": "Pure Casual Rust [Bots/Botbases] 3x",
"connect": "103.137.14.69:49035",
"request": "103.137.14.69:49036",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1725264175,
"last_update": 1780603234,
"banned": false,
"wipe": 1779403632,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3201,
"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/5844162");
$data = json_decode($json, true);
var_dump($data);