API pentru Pro-Clan.net - NEW IP: 86.48.0.28:7777
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8499621,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": null,
"game": 9000035,
"owner": 114646,
"boosts": 1,
"last_offline": 1750457066,
"last_online": 1746515435,
"icon": null,
"name": "Pro-Clan.net - NEW IP: 86.48.0.28:7777",
"connect": null,
"request": null,
"map": "San Andreas",
"gamemode": "Freeroam/Roleplay",
"version": null,
"numplayers": 0,
"maxplayers": 1000,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1743966970,
"last_update": 1750457066,
"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": 1327,
"language": "en",
"parked": true,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": {
"username": "VIPTransfersLimassol",
"avatar": "68394e14-d2ca-4549-8ddf-c8ad581e4984.jpg"
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8499621");
$data = json_decode($json, true);
var_dump($data);