API pentru Hamood1241 Server
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286420226402326",
"domain": null,
"id": 11623966,
"ip": "130.164.226.153",
"port": 27020,
"query": 27021,
"project_id": null,
"color": 0,
"city": "Dammam",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780730010,
"last_online": 1780189362,
"icon": null,
"name": "Hamood1241 Server",
"connect": "130.164.226.153:27020",
"request": "130.164.226.153:27021",
"map": "VRisingWorld",
"gamemode": "a82a8192-2e62-44d3-bb01-607b06a1becf",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": true,
"private": true,
"country": "SA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916128,
"last_update": 1780730010,
"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": 4273,
"language": "ar",
"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/11623966");
$data = json_decode($json, true);
var_dump($data);