API pentru CobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep NO OFFLINE RAIDING
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 335,
"fps_avg": 330,
"entities_count": 77141,
"world_seed": 114928897,
"world_size": 3750,
"steam_id": "90286747244125185",
"domain": null,
"id": 11189401,
"ip": "92.118.19.58",
"port": 28025,
"query": 28026,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nCobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep\nBi-weekly\nNO OFFLINE RAIDING\nNO PAY TO WIN FEATURES\n\nGroup Limit: 3\n30 x Sleeping Bags\n2x Gather\n2x Smelting speed\n2x Components and Scrap\nHalf time on Locked crates\nFaster Recycling\nExtra recyclers\nMinicopters spawn on roads.\n\nJunk items removed from Loot Table\n\nMap wipes first and third thursday of the month.\n \nBlueprint wipes every first Thursday of the month with FacePunch updates.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598666,
"last_online": 1780948839,
"icon": null,
"name": "CobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep NO OFFLINE RAIDING",
"connect": "92.118.19.58:28025",
"request": "92.118.19.58:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699051,
"last_update": 1780948839,
"banned": false,
"wipe": 1780598631,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4610,
"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/11189401");
$data = json_decode($json, true);
var_dump($data);