Rust
API pentru [US] WonderRust/3x/Kits/MyMini/MAX 5
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7562838json
{
"response": {
"steam_id": "90285028229565469",
"domain": null,
"id": 7562838,
"ip": "104.129.133.199",
"port": 28039,
"query": 28036,
"color": 0,
"city": "Dallas",
"description": "![[US] WonderRust/3x/Kits/MyMini/MAX 5](https://postimg.cc/Z9znfQsQ)\nWonderRust\r\nYour ultimate Rust experience!\r\n3x Loot Rate, Get the gear and resources you need fast!\r\nInstant Crafting: Build and craft at lightning speed.\r\nShared Blueprints: No more grinding for BPs!\r\nWorkbench 1 Unlocked: Skip the grind and get right into the action!\r\nMonthly wipes:on force\r\nActive Admins: Real playing admins ensuring fair and fun gameplay.\r\nVIP Kits: Visit WonderRust.tebex.io for exclusive offers for our supporters!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777282403,
"score": 0,
"last_online": 1777576826,
"icon": null,
"name": "[US] WonderRust/3x/Kits/MyMini/MAX 5",
"connect": "104.129.133.199:28039",
"request": "104.129.133.199:28036",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2583",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739440522,
"last_update": 1777576826,
"banned": false,
"wipe": 1742160926,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3334,
"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/7562838");
$data = json_decode($json, true);
var_dump($data);