API pentru MustangBunny's Dark World
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286587674924045",
"domain": null,
"id": 11660377,
"ip": "95.156.198.245",
"port": 11400,
"query": 11401,
"project_id": null,
"color": 0,
"city": "Clifton",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780470424,
"last_online": 1780789350,
"icon": null,
"name": "MustangBunny's Dark World",
"connect": "95.156.198.245:11400",
"request": "95.156.198.245:11401",
"map": "VRisingWorld",
"gamemode": "80a67d64-6ba3-457d-ad9e-69941a51fd5d",
"version": "0.0.0.1",
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780178457,
"last_update": 1780789350,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3226,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11660377");
$data = json_decode($json, true);
var_dump($data);