Rust
API pentru Scrapland x10000000 |BATTLEFIELD|KITS|TP|CLANS|SKINBOX|PVP|
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7659020json
{
"response": {
"modded": true,
"fps": 25,
"fps_avg": 25,
"entities_count": 144035,
"world_seed": 18100,
"world_size": 3750,
"steam_id": "90284508080106521",
"domain": null,
"id": 7659020,
"ip": "104.143.2.86",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Dallas",
"description": "\nScrapland.gg - x1000000\r\nThe best MillionX battlefield server!\r\n\r\n• Backpacks\r\n• Teleportation\r\n• Custom Ranks\r\n• Shop\r\n• Personal Minicopter\r\n• Skinbox\r\n• Clans\r\n• Ultra performance\r\n• Active Admins\r\n• Kits\r\n• Gambling\r\n• Custom UI's\r\n\r\n• Instant Bug Patches\r\n• Updates every week!\r\n• Amazing events every other weekend!\r\n\r\nWipes 2 times per week!\r\nMonday & Friday @ 8 PM CEST\r\n\r\nWebsite: @SCRAPLAND.GG | Discord: @discord.gg/SCRAPLAND",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194329,
"score": 0,
"last_online": 1776341414,
"icon": null,
"name": "Scrapland x10000000 |BATTLEFIELD|KITS|TP|CLANS|SKINBOX|PVP|",
"connect": "104.143.2.86:28015",
"request": "104.143.2.86:28014",
"map": "SCRAPLAND.GG",
"gamemode": "Survival",
"version": "2623",
"numplayers": 43,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 80,
"add_date": 1739549733,
"last_update": 1776341414,
"banned": false,
"wipe": 1776103525,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 388,
"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/7659020");
$data = json_decode($json, true);
var_dump($data);