API pentru pls_work
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286390097485849",
"domain": null,
"id": 11542959,
"ip": "94.130.207.227",
"port": 2326,
"query": 2327,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780120972,
"last_online": 1780353692,
"icon": null,
"name": "pls_work",
"connect": "94.130.207.227:2326",
"request": "94.130.207.227:2327",
"map": "UMB_Colombia",
"gamemode": "Antistasi Ultimate - Colombia",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355480,
"last_update": 1780353692,
"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": 2641,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11542959");
$data = json_decode($json, true);
var_dump($data);